How to divide one large file into several parts.

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

Guest

How to divide one large file into several parts

My file size is up to 600MB
It is impossible for me to load it to my buffer
I try to read 1MB and then process it. It works
But i still aim for dividing this .txt into at least 6 parts
Can you instruct me how to do this

Thanks in advance.
 
* =?Utf-8?B?c2Ft?= said:
How to divide one large file into several parts.

My file size is up to 600MB.
It is impossible for me to load it to my buffer.
I try to read 1MB and then process it. It works.
But i still aim for dividing this .txt into at least 6 parts.
Can you instruct me how to do this?

Have a look at the classes in the 'System.IO' namespace, 'FileStream',
'StreamReader', 'BinaryReader', 'StreamWriter', and 'BinaryWriter'.
 

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