FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Images uploaded don't show up in message
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Image file is corrupted on download [message #184861 is a reply to message #168919] Tue, 11 February 2014 20:04 Go to previous messageGo to previous message
wferguss   Canada
Messages: 11
Registered: December 2013
Karma:
Junior Member
I'm running FUDforum 3.0.5.

When I attach a txt file to a message and click to download it, everything is fine. If I do the same with an image file (eg. jpg) the download fails. In IE and Chrome it displays a broken image link, in Firefox it shows "The image "http://.../index.php?t=getfile&id=1&" cannot be displayed because it contains errors"

I used wget to download the file and looked at the raw data - 0x0A has been prepended to the beginning of the file (although the file size hasn't changed from the original - the end has been cut off). This 0x0A is not present in the attachment file on disk.

How is this extra data getting tacked on to the image file during download, and how do I make it stop?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: flood check reset
Next Topic: Error in confirmation email in Greek Language
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Apr 27 13:45:42 GMT 2024

Total time taken to generate the page: 0.05104 seconds