View previous topic :: View next topic |
Author |
Message |
photobank -
Joined: 27 Apr 2004 Posts: 9 Location: thailand
|
Posted: Thu Apr 29, 2004 3:26 am Post subject: Save As.. part II |
|
|
Thank you I use your script in Perl and it works.
Now the difficult one: How do I find out if my visitor has sucessfully downloaded the picture or not? (remember browser in now not opening the picture..)
Thank you _________________ alberto |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Thu Apr 29, 2004 3:39 am Post subject: |
|
|
Well when it comes to "successfully," there really is no way. You can see if they attempted, by checking your logs, but that won't show if it is successful or not.
The only way to see if a download is successful is to use an FTP server, because they show real-time logs on what's going on (and if the person receive the file). _________________ Bienvenidos! |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Apr 30, 2004 12:27 pm Post subject: Re: Save As.. part II |
|
|
photobank,
Check your log file. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
iNaNimAtE -
Joined: 05 Nov 2003 Posts: 2381 Location: Everywhere you're not.
|
Posted: Sat May 01, 2004 12:46 am Post subject: |
|
|
Yes, but correct me if I'm wrong; that won't show if the download completed successfully; right? _________________ Bienvenidos! |
|
Back to top |
 |
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun May 02, 2004 5:20 pm Post subject: |
|
|
iNaNimAtE,
A successful log line has its status set to 200 and contains the number of bytes that were sent to the client. All you have to do is to compare that number with the size of the file. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|