Dear all,
Is there any easy way to split a file into several smaller files and then
recompose it? Which namespace should I use?
Thanks for any help,
Tedmond
Kevin Spencer - 17 Oct 2007 13:10 GMT
"Easy" is a relative term. Use the System.IO namespace classes,
specifically, the FileStream class.
See http://msdn2.microsoft.com/en-us/library/system.io.filestream.aspx

Signature
HTH,
Kevin Spencer
Chicken Salad Surgeon
Microsoft MVP
> Dear all,
>
[quoted text clipped - 4 lines]
>
> Tedmond
Andrew Faust - 22 Oct 2007 00:26 GMT
Should be pretty easy. All you need to do is use standard filestream
operations. Read through the source file and write out each X number of
bytes to a file named something like (file_0, file_1, etc). To put it back
together simply read through the file_# files in order appending them to a
new file. The namespace is System.IO

Signature
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
> Dear all,
>
[quoted text clipped - 4 lines]
>
> Tedmond