Personal tools
You are here: Home Products Reflecto Issue tracker Upload not working correctly
Document Actions

#22 — Upload not working correctly

State Unconfirmed
Version: 1.2
Area Functionality
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on Feb 18, 2008
Responsible
Target release:
Return to tracker
Last modified on Apr 9, 2008
Running on Windows 2003 Server, behind Apache. Uploading Office documents
(PPTX, DOC, XLS, possibly other document types) does not work properly.
Files get inflated for a few KB and cannot be opened anymore. Uploading
RAR archives seems to work. PNGs do not upload correctly.
Steps to reproduce:
Upload one of the mentioned file types, and try to download and open it.
Added by (anonymous) on April 8, 2008 - 11:44
This seems to happen with binary files:
hex 0d 0a is converted to a single 0a thus destroying any binary file.
Added by (anonymous) on April 9, 2008 - 08:23
To upload files correctly to windows server, you need to add up the O_Binary Flag to Reflecto\browser\addfile.py

fd=os.open(path, os.O_WRONLY|os.O_CREAT|os.O_EXCL|os.O_BINARY, 0600)

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by