Archived Forum Post

Index of archived forum posts

Question:

ZipEntry rename broken in 9.4.1

Aug 23 '13 at 09:50

Previously, in version 9.2 I could do this:

Dim zip As New Chilkat.Zip()
Dim entry As Chilkat.ZipEntry

zip.OpenZip("somefile.zip")
entry = zip.GetEntryByIndex(0)
entry.filename = entry.Filename & " - Copy.txt"
zip.WriteZipAndClose()

After updating to version 9.4.1, this no longer works. WriteZipAndClose() returns True, but when I open the zip, the file is not renamed.


Answer

Thanks, I reproduced the problem and hope to have a fix soon.