The attached project is a Visual Studio solution file that use a third party dll to connect to the FTP and upload the file. The code also check the file size of both side files (local and uploaded file on FTP) and store new file in separate folder on FTP.
The third part DLL is IONIC.ZIP.
You need to modify the solution file and provide your FTP details and make sure you have " write " permissions on the FTP account and the folders.
Abhishek RaoPosted Feb 25, 2019, 4:23 AM
After slpit from code when we tried to extract, it is creating full folder path instead of creating in same folder. e:g: If i choose the path as "E:\R&D\File\Filename.ext" and Save file name If we keep as "Split.zip" after extracting the zip, the path that getting is "E:\R&D\File\Split\R&D\File" under which the extracted file is saved. Can you help me out to avoid this extra folder creation "R&D\File".
Chirag SolankiPosted Aug 20, 2012, 5:41 AM
hi Ananthaivan you need to only extract main file and other part file automatic extract in one file.
Chirag SolankiPosted Jul 25, 2012, 9:29 AM
int intSpliteSize = 10;//10 mb . in code give int max value. or set here zip.MaxOutputSegmentSize = intSpliteSize * 1024 * 1024; //split in 10 mb and make change like this zip.UseZip64WhenSaving = Zip64Option.AsNecessary; zip.CompressionLevel = Ionic.Zlib.CompressionLevel.Default;
Chirag SolankiPosted Jul 25, 2012, 9:19 AM
sure.. Zip File Default size may be 2 gb after it it will split. if you create 10 gb zip it split into 5 part. for that u have to increase segment size of zip dll reference. and create zip for 64bit machine . you will get multi part zip file. after extract .zip file you will get .01 .o2 part into one zip file.
AnanthalvanPosted Jun 29, 2012, 10:41 AM
Hi Chirag, I have a need of splitting a huge file into multi part files and extract the original files from the part files. I was able to achieve first part - creating multi part files from a huge file. I'm still trying to succeed on extracting original file from multi part files. Can you help me on that?
Gohil JayendrasinhPosted May 14, 2012, 10:06 AM
Good One From Jayendrasinh Gohil