Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Last modification date lost when saving #288

Open
DoerrSt opened this issue Feb 29, 2024 · 0 comments
Open

Last modification date lost when saving #288

DoerrSt opened this issue Feb 29, 2024 · 0 comments

Comments

@DoerrSt
Copy link

DoerrSt commented Feb 29, 2024

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant