(!string.IsNullOrEmpty(file.ZipFileDirectory) & (file.ZipFileDirectory != file.ZipFileDirectory, file. Zip.AddFile(file.FileLocation, file.ZipFileDirectory).FileName = Zip.MaxOutputSegmentSize = 819200 // I tried adding this and it did not fix the problem ('content-disposition', 'filename=' + 'MyFileName' + ('MMddyyyy') + '.zip') When I open the Zip file, there is only one file displayed with a size of '0.' So it seems like some sort of size limit is being reached and it's not allowing the archive to be created. Testing in this manner, I believe I've ruled out the problem being related to my code or the files (being corrupt or something). It worked fine until about 10 images were added, then, when I opened the Zip file using WinRar, I would get the 'Unexpected end of archive' error. But with the help of this Archive file recovery. We need archiving when we have multiple files to transfer on local or web networks, but sometimes we face errors in accessing those files like 'Unexpected end of archive'. tiff image, I would add a few extra copies, test, repeat. It is therefore compatible with all file types of archive recovery such as.
I received an error for the first time today and it appears to be related to the total size of the archive. I have a method that zips up one or more files using DotNetZip, and it has been working correctly.