Save As.. part II

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
photobank
-


Joined: 27 Apr 2004
Posts: 9
Location: thailand

PostPosted: Thu Apr 29, 2004 3:26 am    Post subject: Save As.. part II Reply with quote

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 View user's profile Send private message Visit poster's website
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Thu Apr 29, 2004 3:39 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Apr 30, 2004 12:27 pm    Post subject: Re: Save As.. part II Reply with quote

photobank,

Check your log file.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
iNaNimAtE
-


Joined: 05 Nov 2003
Posts: 2381
Location: Everywhere you're not.

PostPosted: Sat May 01, 2004 12:46 am    Post subject: Reply with quote

Yes, but correct me if I'm wrong; that won't show if the download completed successfully; right?
_________________
Bienvenidos!
Back to top View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun May 02, 2004 5:20 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group