Hi. I want to ask that how file splitter works? Is the first step is to convert it to text file?
Printable View
Hi. I want to ask that how file splitter works? Is the first step is to convert it to text file?
File Splitter? I'm not familiar with that.
Do you mean a program that takes a big file and cuts it into smaller files?
(so that they may fit on a limited medium)
A file is just a row of bytes.
To split it into x-sized bits you just open the files, read the first x bytes, save them to a new file, read the next x bytes, etc.
Restoring the file goes in reverse order.
Read the first part, save it to the original file, read the next part, append it to the original file, etc.
Data about the original filename, the sequence of the parts, etc can be saved in the parts' filenames, a seperate file or as a header for the parts.
Thanks for infomation. But it can also be done by first converting it to text file and then divide those text into some no. of equal parts and when u want to join it append all the text to a text file in suitable order and then again convert it to original ext. right?
Sure, but why would you?
I want to make a file splitter.