Replace file via rename function inside ZIP archive

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 652
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Replace file via rename function inside ZIP archive

Post by *MaxX » 2019-01-17, 13:07 UTC

Actions have been done:
1. Pack some files into ZIP, e.g. 1.jpeg and 2.jpeg
2. Update ZIP - add 3.jpeg
3. Rename 3.jpeg to 1.jpeg
4. Get an error mesage and nothing done.

Expected:
4. Replace original 1.jpeg with newer 3.jpeg and get new ZIP 1.jpeg (new) and 2.jpeg inside, older 1.jpeg has been deleted.

Also.
This can be easely done in real folders (not inside ZIP). Rename functions replaces older file.

Just one of the cases IRL
I have lot's of .docx and .xlsx files with old image1.jpeg inside. For some reasons I have to replace them with newer files. Now I can't do my habitual movements.

Please, make this work inside ZIP too.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3310
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Replace file via rename function inside ZIP archive

Post by *Horst.Epp » 2019-01-17, 13:42 UTC

I have no problem with your steps 1 - 3 inside of a Zip file
and also no problem doing that inside of a docx file.
Windows 10 Home x64 May 2019 Update, Version 1903 (OS Build 18362.116)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22a x64 and x86, Everything 1.4.1.941 (x64)

User avatar
MaxX
Power Member
Power Member
Posts: 652
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Re: Replace file via rename function inside ZIP archive

Post by *MaxX » 2019-01-17, 13:48 UTC

Do you rename 3.jpeg INSIDE the ZIP file into existing file name?

Screenshot:
https://jpegshare.net/images/10/f6/10f6f9458f148b641c0a40709edb3afb.png

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3310
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Replace file via rename function inside ZIP archive

Post by *Horst.Epp » 2019-01-17, 14:41 UTC

MaxX wrote:
2019-01-17, 13:48 UTC
Do you rename 3.jpeg INSIDE the ZIP file into existing file name?

Screenshot:
https://jpegshare.net/images/10/f6/10f6f9458f148b641c0a40709edb3afb.png
No, but why is this the problem ?
You can delete the other file before renaming.
Windows 10 Home x64 May 2019 Update, Version 1903 (OS Build 18362.116)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22a x64 and x86, Everything 1.4.1.941 (x64)

User avatar
MaxX
Power Member
Power Member
Posts: 652
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Re: Replace file via rename function inside ZIP archive

Post by *MaxX » 2019-01-17, 19:17 UTC

There's too much manual job and chances to make mistakes

Post Reply