Click to See Complete Forum and Search --> : fiole splitter
vivek_master146
Jun 20th, 2007, 08:49 AM
Hi. I want to ask that how file splitter works? Is the first step is to convert it to text file?
Hack
Jun 20th, 2007, 08:50 AM
File Splitter? I'm not familiar with that.
jeroen79
Jun 21st, 2007, 07:18 AM
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.
vivek_master146
Jun 22nd, 2007, 06:24 AM
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?
jeroen79
Jun 22nd, 2007, 05:38 PM
Sure, but why would you?
vivek_master146
Jun 23rd, 2007, 01:08 AM
I want to make a file splitter.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.