14-06-2010, 03:01 PM
File Splitter Utility
This article describes a simple simple file splitter / joiner application.It can be used to split files when transfering files over the internet using FTP, email, etc It has a simple user interface that interfaces with a simple controller class. The controller class coordinates the requests from the UI, initiates the two worker classes.
Using the code
These classes expose a set of simple methods and an event called ProgressNotify which provides the percent of completion of the task . The internal buffer used, as well as the the size of the file segments.
FileSplitter has one real method that just takes a filename to split and uses the file naming convention.The method FileJoiner does the equivalent of a DOS command "copy /b file1 + file2 + file3 finalfile ".
for full details and the source code download, visit:
http://codeprojectKB/cs/filesplitter.aspx
codeprojectKB/vb/TextFileSplitter.aspx
This article describes a simple simple file splitter / joiner application.It can be used to split files when transfering files over the internet using FTP, email, etc It has a simple user interface that interfaces with a simple controller class. The controller class coordinates the requests from the UI, initiates the two worker classes.
Using the code
These classes expose a set of simple methods and an event called ProgressNotify which provides the percent of completion of the task . The internal buffer used, as well as the the size of the file segments.
FileSplitter has one real method that just takes a filename to split and uses the file naming convention.The method FileJoiner does the equivalent of a DOS command "copy /b file1 + file2 + file3 finalfile ".
for full details and the source code download, visit:
http://codeprojectKB/cs/filesplitter.aspx
codeprojectKB/vb/TextFileSplitter.aspx