Hi
Is there a way to check that a file has completely downloaded to a user machine.
What I want to do is debit a users credit account once a user has downloaded a product, but at the moment there is no way for my script to check that the file downloaded correctly and there have been a few complaints that credits were deducted and the download had an error.
I would be very grateful for any ideas
thanks
checking a file has downloaded
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Why don't you just present them with a screen after you have forced the download asking if it went OK, if it didn't they can force the download again and get presented with the 'Did it go OK' screen. If they keep going through the cycle and it errors everytime they can complain, then you can email it to them, give them a direct (temporary...) link or whatever else.
Just re-read my post, and I didn't even answer your question, lol. Anyway, no I don't think it's possible to check if a file has completely downloaded to a users machine, saying that, someone has posted an AJAX upload progress bar somewhere, surely if that could be turned around and used as a download progress bar, then you could use the same technique to check if it's got to 100%.
Just re-read my post, and I didn't even answer your question, lol. Anyway, no I don't think it's possible to check if a file has completely downloaded to a users machine, saying that, someone has posted an AJAX upload progress bar somewhere, surely if that could be turned around and used as a download progress bar, then you could use the same technique to check if it's got to 100%.