Zip icon indicating copy to clipboard operation
Zip copied to clipboard

Zip fail to unzip when there's file with same name but with different capatilization

Open vincent-paing opened this issue 5 years ago • 0 comments

Steps to reproduce

  • Create a file named "test.txt"
  • Zip the file and name it "Zip A.zip"
  • Create another file name "Test.txt"
  • Zip the file and name it "ZipB.zip"
  • First unzip Zip A into document path
  • Zip A succeed
  • Now unzip Zip B with overwrite flag set to true
  • Zip B fails
  • Delete test.txt and unzip Zip B
  • Zip B succeed

File name should be case insensitive as if there's an existing file name with capitalization, Mac's unarchive utility creates a new file. (e.g "Test 2.txt")

At the very least, even if it doesn't override, it should create a new file instead of throwing an error.

vincent-paing avatar Jun 14 '19 07:06 vincent-paing