Jump to content

document download detection


clh22793

Recommended Posts

It's very difficult to detect from the server side, particularly if the user resumes the download.  The thing is, even if you send out the file, you don't know for 100% if the user got it or not.

 

If you have all your downloads go through a script then you can at least track the number of download attempts.

 

If it's critical that the user receives the complete file, there are two main options i can think of

 

1.  Have the user tell you that they received the file.

2.  Allow re-downloading of the file in case the first attempt fails, giving the user a chance to complete the download.  Then assume that if they don't try again within some specified time period, they probably got the file.

Link to comment
Share on other sites

Many sites that provide files for download also provide an MD5 hash of the file so those inclined can ensure they do indeed have an uncorrupted file. Those not inclined won't give a flying rats backside and will just download again or think it was all garbage and leave.

 

There is an possible option discussed here... http://www.expertsrt.com/tutorials/Rod/JSread.php but in all honesty I see very little to be gained from it and you are simply making more work foryourself that will very rarely be utilized (if at all.)

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.