Bugs #2910: Loaderd binary attachments are corrupted

Ticket modified by Massimiliano Ballerini at 2011/04/04 14:47
Tracking System: Bugs
Category: Tracker
Version: Version 1.8.001
Status: Open
Resolution: None
Completed: 0%
Priority: 5 - medium
Created By: Massimiliano Ballerini
Created on: 2011/03/25 10:46
Assigned to: Ralf Becker
Summary: #2910 - Loaderd binary attachments are corrupted
We have a problem with the attachments loaded in the tracking system.

Loading a text file such as doc is good and the filed is downloaded back without problem.

When we put a zip, a rar or a 7z file as attachments they result corrupted in some way they cannot be opened again. We tried different compression tools and we had aways same problem.

We even tried on your demo site and has the same behaviour --> https://demo-epl.egroupware.de/egw/index.php?menuaction=tracker.tracker_ui.edit&tr_id=7

I think is related to the file transfer method that is not binary for those file types. Is there a way i can force binary file transfer? Haven’t found any yet.

Thanks
Comment by Massimiliano Ballerini at 2011/04/04 14:47:
I’m using firefox 3.6.16 (but I just tied with IE8 too) and yes download work perfectly for any other site I use.

I’s not just me, every computer in the net here having problem with attachment from eg, and it’s not my installation of eg couse got the same problem on your online demo.

I made some more test and look like the problem kicks in with file over a certain size:

Tried with few KB 7z file —> working
Tried with 4MB 7z file —> corrupted

I attached a file here and got same problem, can you open the file, or it’s corrupted for you too?
Comment by Sebastian Steinhuber at 2011/04/04 12:44:
Unlike FTP, HTTP doesn’t know about a binary mode.
Download of 7z files works for me, too.
Did you download a 7z from somewhere in the net successfully?

Did you try to get help on the user list?

Comment by Massimiliano Ballerini at 2011/04/04 10:04:
I go in the links tab and click browse in the attach file section. Could you try with a 7z file instead?

I don’t know how it works, could be we don’t use winzip for zip files and egroupware don’t recognize the file type?
Comment by Birgit Becker at 2011/03/31 16:57:
Just attached a zip-file to this ticket and i was able to download and unzip it without any problems. Which was the method you tried to to upload the files?

Birgit

linked entries:
http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=2910&no_popup=1