Top "Filestream" questions

In .NET framework filestream exposes a Stream around a file, supporting both synchronous and asynchronous read and write operations.

FileStream and StreamWriter - How to truncate the remainder of the file after writing?

var fs = new FileStream(filePath, FileMode.OpenOrCreate, FileAccess.ReadWrite); using(var writer = new StreamWriter(fs)) writer.Write(....); If the file …

.net io filestream streamwriter
Length of varbinary(max) filestream on SQL Server 2008

Is there some efficient way how to get length of data in "varbinary(max) filestream" column? I found only samples …

sql-server filestream varbinary datalength
OutOfMemoryException when send big file 500MB using FileStream ASPNET

I'm using Filestream for read big file (> 500 MB) and I get the OutOfMemoryException. I use Asp.net , .net 3.5, win2003, …

asp.net stream download filestream out-of-memory
Best strategy for storing documents in SQL Server 2008

One of our teams is going to be developing an application to store records in a SQL2008 database and each …

sql-server sql-server-2008 blob filestream
Create 2 FileStream on the same file in the same process

I'm trying to create a temporary file that will be automatically deleted. stream = new FileStream( tmpFilePath, FileMode.OpenOrCreate, FileAccess.ReadWrite, …

c# .net filestream file-sharing
Can't write to file using binarywriter

Why does this code not write my string to the file: string file = "Myfile.txt"; MemoryStream ms = new MemoryStream(); void …

c# filestream binarywriter
write csv file line by line using string in java

I had a modify my original csv. now I want modified csv file whether it is generate new csv file …

java csv filestream filewriter stringwriter
Creating Sub Directory via SQL INSERT using FileTable

Previously, I requested how to create a directory within a FileTable without using File I/O APIs. I now want …

sql filestream sql-server-2012 filetable
How Can I Save a Dynamic Array to a FileStream in Delphi?

I have the following structures in Delphi 2009: type IndiReportIndi = record IndiName: string; NameNum: integer; ReportIndiName: string; end; var XRefList: array …

delphi filestream dynamic-arrays
Xamarin.Android pdf generator

I have been working on Xamarin.Android recently. I need to use pdf generator to send a report via email. …

c# android pdf xamarin filestream