How to split a file based on size by no of chunks ?
I have a text file 5 MB data, now i want to split this into 5 parts with 1Mb each, in to some other directory ?
is it possible to split a file without read or write method to split ?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
How to split a file based on size by no of chunks ?
I have a text file 5 MB data, now i want to split this into 5 parts with 1Mb each, in to some other directory ?
is it possible to split a file without read or write method to split ?
Hard to do if you don't read the bytes of the file and write them out again in other files.is it possible to split a file without read or write method to split ?
Perhaps you could call another program to do the reading and writing.
here is the code buddy that i write to my self .. may be it will help u ..
...edited by moderator
Last edited by copeg; January 30th, 2012 at 12:43 AM.
@deependeroracle - Thnks mate It really useful
Read the Forums Rules deependeroracle. Though it was the help but more than help it's Spoon Feeding and it's the violation of Forums Rules.
ur welcome .. but some how i was unaware of rules and mistakenly broke that ... means i did spoonfeeding
Hi deependeroracle--I have a similar problem, but I can not see your code here..Could you please upload it here again...Thanks
Hasan
Hasan
Read post #5
Also check the date of a thread before you wake the dead