Hello,
Is it possible to compress file with XAD or ZIP and have progress 0% at 100% ?
in the documentation it's possible for extract but I do not see anything for compression
I would have preferred to do with function => CompressFile() and DecompressFile()
Thank you
Compress file with XAD or ZIP
-
- Posts: 475
- Joined: Fri May 15, 2015 5:15 pm
- Location: Waterville, Minnesota USA
Re: Compress file with XAD or ZIP
Try looking up zip.AddFile() for the Zip plugin. XAD may have something similar.
I'm on registered MorphOS using FlowStudio.
Re: Compress file with XAD or ZIP
XAD is for unarchiving only, you can't compress with it.
Re: Compress file with XAD or ZIP
Thank you
zip.addfile not have option => "Progress" only zip.ExtractFile :-/
zip.addfile not have option => "Progress" only zip.ExtractFile :-/
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Compress file with XAD or ZIP
zip.AddFile() won't do anything except adding the file to an internal list. Compression is done by zip.CloseArchive() and this function also allows you to monitor progress.
Re: Compress file with XAD or ZIP
Perfect !
Thank you
Thank you