Page 1 of 1

File gets corrupted while downloading ?

Posted: Thu Nov 15, 2012 10:14 pm
by c4s
Every now and then users who want to download my software tell me via email that the file archive is corrupt. Then I'm confused and test the download link... of course everything turns out to works just fine: The file gets downloaded correctly, can be extracted, used as expected etc.

A few weeks ago someone even told me that the downloaded file was exactly 1 byte too small (a screenshot proved this). I reuploaded the file, tested it myself, told him to do it as well and it was still 1 byte too small.
The strange thing is that he was finally able to download it from a mirror (not directly controlled by me) which hosts the exact same file!

So now I'm thinking that this must be an issue of my web hoster. Can this be the case? What do you think about this?

The thought of users who are interested in my software not being able to download it really bugs me. After all I need as much downloads as possible and every missing download is a lost...


(I think the thread title needs some clarification. Let me know if you have any ideas... ;-) )

Re: File gets corrupted while downloading ?

Posted: Sun Nov 18, 2012 4:08 am
by nospam
c4s wrote:So now I'm thinking that this must be an issue of my web hoster. Can this be the case? What do you think about this?
Yes, and it's something you would be better off to take up with them.

Re: File gets corrupted while downloading ?

Posted: Sun Nov 18, 2012 9:08 pm
by Thorium
Yes, it seems to be a problem of the server.
I dont know much about server configuration, but a forum i am active on had a similar problem and deactivating the compression fixed it.

Re: File gets corrupted while downloading ?

Posted: Sun Nov 18, 2012 11:03 pm
by c4s
Thanks Thorium!
I contacted the support team and one of them suggest the very same. They told me to add this to the .htaccess file:
SetEnvIfNoCase Request_URI "\.zip$" no-gzip dont-vary
After I changed that accordingly I already contacted the user who wasn't able to download the zip file. But unfortunately it didn't change anything for him.
Hopefully it's only because he still has this file in the browser cache or something like that...