libUrlFtpUploadFile time out issues

Dave Cragg dcragg at
Sat Dec 7 04:36:01 EST 2002

At 6:56 pm -1000 6/12/02, Sannyasin Sivakatirswami wrote:
>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'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|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
>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...??

Try setting the socketTimeoutInterval to a higher value. (e.g. 20000)

However, if the timeout is occurring before you think it should (i.e. 
within the socketTimeoutInterval which is set to 10 seconds by 
default) let me know.


More information about the Use-livecode mailing list