Zip files always download as an archive

dreadstar - June 21, 2009 - 07:01
Project:Filebrowser
Version:6.x-2.0-rc10
Component:Directory Listing Pages
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I noticed that individual zip files download as an archive although they are not supposed to. For example I have the following files in a directory with sizes:
electrode.zip - 7.02 kb
manifold.pdf - 18.51 kb
excel.xls - 49.55 kb
word.doc - 103.5 kb
(all 4 files totalling 178 kb in size)

If I click to download electrode.zip, it always ends up downloading electrode.zip as an archive 178kb big compressing inside it 4 files instead of only the electrode.zip which is 7.02 kb big.

Clicking to download the other individual pdf, xls and doc file has no problem. Only happens when the downloaded files is a zip file.

#1

Yoran - July 19, 2009 - 12:23

This should be fixed in last dev version

#2

Yoran - July 19, 2009 - 12:23
Status:active» fixed

#3

dreadstar - July 26, 2009 - 09:07

Thanks Yoran. I will try it out and give you feedback once it becomes an official release.

#4

System Message - August 9, 2009 - 09:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#5

dreadstar - August 11, 2009 - 14:20

I have confirmed that the dev rel has corrected this problem. Thanks Yoran!

#6

how_wei_keng - September 11, 2009 - 08:10
Status:closed» active

Has it really been fixed?

I uploaded a zip file of size-1.35mb, inside contains a 28mb .doc file.

When i download the zip file, it becomes a .txt file.
Have i not configure anything?

#7

how_wei_keng - September 11, 2009 - 08:20

i realized that if i don't input a "NEW NAME" in the New Name text box, the zip file can be properly downloaded. But if i input a new name, the file gets converted to an unknown file with no extension..

is this a bug?

#8

Yoran - September 17, 2009 - 21:56

Actualy the upload file name includes extention. Did you tried "new name.zip" ?

 
 

Drupal is a registered trademark of Dries Buytaert.