0

When I attempt to download this file, sometimes it only downloads about 700KB (the file is 40MB) then I get the message that the download is complete. If I try to download the file again, it works properly.

The problem seems prevalent in IE, although I've had it happen in Chrome sometimes too.

I have the following code:

<input type="button" 
    value="Agree to Terms and Download" 
    onClick="location.href='/downloads/setup.exe';" />

If it matters, this is over a secure connection.

I also tried zipping the file, and had the same issues.

1
  • Anything in the logs? Any specific directives for that vhost/path? What's serving the file, apache or php? You're giving us little to work with here.
    – Joris
    Aug 23, 2010 at 17:09

2 Answers 2

0

This sounds like a server issue, what server are you using?

2
  • An apache server
    – kylex
    Aug 23, 2010 at 17:00
  • Check your error_log for errors. I don't have a solution yet, but HTTP analysers like HttpFox could be useful here. Look for the Content-Length response header. It should always match the filesize. I think your server crashed during the download; apache stops serving and your browser thinks it's done.
    – Lekensteyn
    Aug 23, 2010 at 17:57
0

I suggest to set up some web monitoring so you get some better statistics on the issue. Maybe that reveals a pattern. Try e. g. with a free account at AlertFox: Monitor file downloads

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .