libUrlFtpUploadFile time out issues

Sannyasin Sivakatirswami katir at hindu.org
Sat Dec 7 00:01:01 EST 2002


Dave Cragg (or anyone...)

Working  using the new

libUrlFtpUploadFile tSourcePath, tUrl, "loadDone"

for uploads to an FTP server... it works fine but

1) Timeout issues:

if I get  the following socket time out (now sure if libURL is 
generating this or the ftp server??) ... then I have to try again...
=======
220 Welcome to mahiai.aloha.net's FTP server
331 Password required for gurudeva.
230 User gurudeva logged in.  Access restrictions apply.
257 "/" is current directory.
200 Type set to I.
socket timeout 64.75.176.66:21|6926
CLOSED 64.75.176.66:21|6926

===========

If I can get through this far:

200 Type set to I.
227 Entering Passive Mode (64,75,176,66,94,98)
150 Opening BINARY mode data connection for 
/export/vhost/org/g/gurudeva/www/public_html/01-Bodhinatha-12-06.JPG.
CLOSED 64.75.176.66:24162|6924
226 Transfer complete.

then, (obviously) it works and then I can do successive uploads on that 
same connection without logging in again.

so, how to handle that time out business...??

thanks

Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
katir at hindu.org

www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org




More information about the use-livecode mailing list