DotNetZip.Semverd icon indicating copy to clipboard operation
DotNetZip.Semverd copied to clipboard

Last modification date lost when saving

Open DoerrSt opened this issue 1 year ago • 0 comments

Hello, I am open an existing ZIP file and remove some files from the archive, after saving it with a new name the "last modification date" in the new ZIP file is set to the current date/time instead of using the existing attributes in the zip entry-class.

like

Dim zip As New ZipFile("C:\temp\zipfile.zip") ' Remove an entry using zip.RemoveEntry(entry) zip.Save("c:\temp\newzip.zip")

Not sure if this behaviour is by intention, my expectation was that the attributes in each zip-entry stay unchanged. Thanks!

DoerrSt avatar Feb 29 '24 15:02 DoerrSt