This project is read-only.

REQUEST: Zip.AddFile

Jul 12, 2010 at 3:47 AM

I know you recently added DNZip for compression.  Could you add a TaskAction for AddFile?  Thanks.

Jul 12, 2010 at 8:25 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Jul 15, 2010 at 9:27 PM

thanks mike! I have one suggestion (as this applies to how I am using it). 

When I wrote this, I used ZipFile.UpdateFile and ZipFile.UpdateDirectory (instead of AddFile and AddDirectory). This will check for existing files/directories in the zip first and overwrite them if they exist, and if they don't exist, it will call the Add functions.

Jul 16, 2010 at 10:26 AM

Thanks! I've updated the code. We could probably do with a bit more functionality in there. I'll take a look at the rest of the API soon and see what would be good for the next release.