Attachment Files corrupted when download method=private

flamingvan - June 29, 2006 - 19:34
Project:upload (simple)
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If I set the download method to private and upload a PDF file it downloads as text. The top of the file looks like this:

Content-Type: text/plain; name=rental_application.pdf
Content-Length: 297935
Content-Disposition: inline; filename=rental_application.pdf

Content-Type: application/pdf; name=rental_application.pdf
Content-Length: 297783
Content-Disposition: attachment; filename=rental_application.pdf

Is the file transfer process corrupting the file? What should I do?

Thanks,

Moses

 
 

Drupal is a registered trademark of Dries Buytaert.