Zip file get corrupted if save clicked after some time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
The zip file gets corrupted if i click save button on the File download
dialog box after some time say 5 minutes. After "Save" is clicked the zip
file gets downloaded but when opened it says corrupt input file. If the same
file is saved immediately once the File download box pops-up then i can open
the zip file properly. Can anyone tell me why zip file gets corrupted when
the user responds to the File download box late?

cheers,
Ram
 
Hi Ramp.

Usually a connection to a web server has a limited lifetime before a
connection and session is dropped from the server. To download a file server
code usually waits until you select the save or open button before it ends
the response. But in the mean time if the session times out the response is
killed and the buffers that hold the download file are flushed.

There are download manager Add-Ins for IE. I use the Star download manager
(freeware version).

Regards.
 
Hi Rob,
Thank you very much for your valuable input. I have a question from
your input. What if the session timeout is more say 3 hour does the zip file
still get corrupted if you dont respond to the File download box for more
than 5 minutes?

cheers,
ram
 
Hi,

Depends on how the web developer has coded the download. There should be no
issues if the downlaod is from a hyperlink as there is no server side code
intermediate to the file streaming. If you are having problems you can also
use the context menu 'Save target as'
I use server-side scripting to stream out downloaded files so I can keep
track of who downloads what and how many.

Regards.
 
Back
Top