Home › Forums › .NET libraries › Xceed Zip & Real-Time Zip for .NET › Copy Items to ZipFIle
Tagged: emptu zip
I try to zip a folder with the sample code provide in the documentation, the zipfile is created but it’s empty file.
DiskFolder diskFolder = new DiskFolder( @”c:\temp” );
diskFolder.CopyFilesTo( new ZipArchive( new DiskFile( @”c:\test.zip” ) ), true, true );
can you please help me to understand why the zip is empty?
I have the same exact issue, it seems that the whole CopyTo/CopyFilesTo does not work both ways. I cannot extract files from a zip and cannot add them to the archive.
Even the provided ZipDemoCS sample application does work and no exceptions are getting raised.
Streaming seems to work fine.
There is a bug in the component that has since been fixed in the latest version. You can download the latest build from our website from the following link:
You must be logged in to reply to this topic.