Author Topic: Copy to Zip bug?  (Read 10452 times)

veds

  • Junior Member
  • **
  • Posts: 23
    • View Profile
Copy to Zip bug?
« on: March 25, 2024, 18:46:17 »
Select some files and press F5.
Enter in the "Copy files to.." edit box the filepath of a zip file and press enter (the selected files don't exists in the archive).
In several occasions I get a dialogbox with the question whether I want to overwrite the target file (the size is 0 bytes).

If I first open and close the zip file with multicommander and then execute the same steps multicommander adds the files to the archive.

MC v13.5 (x64) on windows 10
« Last Edit: March 25, 2024, 19:06:44 by veds »

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: Copy to Zip bug?
« Reply #1 on: March 25, 2024, 20:42:40 »
Not able to recreate your issue,
To add files to an existing zip you can browse into the zip in the target panel and then select the files to copy into the zip in the source panel

Or as you are doing..
edit the "copy files to..." field,  to like "D:\MyFolder\MyZip.zip\"  You must have the \ after the "zip" else it think you want to copy the file into that name, and not into a zip

veds

  • Junior Member
  • **
  • Posts: 23
    • View Profile
Re: Copy to Zip bug?
« Reply #2 on: March 26, 2024, 20:04:14 »
Hi Mathias, I have send you an email with more info.

veds

  • Junior Member
  • **
  • Posts: 23
    • View Profile
Re: Copy to Zip bug?
« Reply #3 on: March 29, 2024, 10:22:29 »
Hi Mathias,

This is the content of the MC log file.

I create a new zip file with the copyto dialog by copying two files and specifying a zip file as destination:
2024-03-29 08:01:57.881 Copied : "D:\Test\a.txt" => "D:\Test\test.zip\a.txt" - 4 bytes in 1ms 0ms Total : 0ms - Average Speed : 4000 bytes/sec (3,9 KB/sec), Read data time 1ms (3,9 KB/sec), Write data time 1ms (3,9 KB/sec)
2024-03-29 08:01:57.882 Copied : "D:\Test\b.txt" => "D:\Test\test.zip\b.txt" - 4 bytes in 1ms 0ms Total : 0ms - Average Speed : 4000 bytes/sec (3,9 KB/sec), Read data time 1ms (3,9 KB/sec), Write data time 1ms (3,9 KB/sec)

I try to add two files to the existing zip file with the copyto dialog (i get an error dialog):
2024-03-29 08:02:06.407 Unable to open target file : D:\Test\test.zip\c.txt ( Error code : 10, Internal Error Code : 3)
2024-03-29 08:02:06.407 Handle file Operations error : 10 (3) - File/Folder already exists

I opened and closed the zip file with mc and then try again to add two files to the existing zip file with the copyto dialog (it works):
2024-03-29 08:02:17.489 Copied : "D:\Test\c.txt" => "D:\Test\test.zip\c.txt" - 4 bytes in 1ms 0ms Total : 0ms - Average Speed : 4000 bytes/sec (3,9 KB/sec), Read data time 1ms (3,9 KB/sec), Write data time 1ms (3,9 KB/sec)
2024-03-29 08:02:17.490 Copied : "D:\Test\d.txt" => "D:\Test\test.zip\d.txt" - 4 bytes in 1ms 0ms Total : 0ms - Average Speed : 4000 bytes/sec (3,9 KB/sec), Read data time 1ms (3,9 KB/sec), Write data time 1ms (3,9 KB/sec)

Are you able to recreate this issue?