Menu

#2 ZIP 3.0d cannot add to empty ZIP file

open
nobody
None
5
2014-08-25
2004-11-27
No

ZIP 3.0d (beta, Win32) cannot add files to an empty ZIP
file.
ZIP 2.3 had no problem with this.

Steps to reproduce:

1. Create an empty ZIP file by calling ZIP with a
locked input file:

C:\temp>zip.exe empty.zip locked.txt
adding: locked.txt (92 bytes security)
zip warning: Permission denied
zip warning: could not open for reading: locked.txt
zip warning: zip file empty

2. Try to add a file to the empty ZIP file:

C:\temp>zip.exe empty.zip notlocked.txt
zip warning: end of file seeking Z64EOCDL

zip error: Zip file structure invalid (empty.zip)

Discussion


Log in to post a comment.