Splitting Files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top