wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Zip folder downloads on a Mac - Once unzipped the names of files inside the folder are appended with folder name. #374

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Download folder on a Mac browser.
2. 'Download zipped'.
3. Check the folder that has been automatically unzipped

What is the expected output? What do you see instead?

The foldername is added to the filename, separated by a '\'.

A file called test.wav in a folder called 070312 will unzip with the file name 
"070312\test.wav"

What version of the product are you using? On what operating system?

Mollify version 1.8.6.1 -  Mac OS 10.6 and 10.7. Windows zip downloads work 
perfectly. 

Original issue reported on code.google.com by guywtch...@gmail.com on 8 Mar 2012 at 3:03

GoogleCodeExporter commented 9 years ago
I get this same problem on 1.8.8.3, can anyone think of a solution?

Original comment by guywtch...@gmail.com on 20 Jun 2012 at 9:45

GoogleCodeExporter commented 9 years ago
I was unable to reproduce this on my Mac, so I don't have any solution right 
now. Maybe this depends on what server OS is used (mine is running on Mac).

This sounds like one Mac does not like the separator whereas Windows accepts 
it, but naturally server cannot know what OS is downloading. Don't know if the 
zip lib has a bug, or am I using it wrong way...

Original comment by samuli.j...@gmail.com on 22 Jun 2012 at 7:19

GoogleCodeExporter commented 9 years ago
Hi Samuli, must be my server - is it easy to change the zip function to a 
different lib?

Original comment by guywtch...@gmail.com on 25 Jun 2012 at 9:56

GoogleCodeExporter commented 9 years ago
There are few options, see 
http://code.google.com/p/mollify/wiki/BackendSettings#Zipper_implementation_(_zi
pper_)

Original comment by samuli.j...@gmail.com on 29 Jun 2012 at 8:03