I'm having a rough time with the "libURLFTPUploadFile" command in Rev 2.5.   
It seems that the FIRST time I attempt to upload a file via 
libURLFTPUploadFile, it fails.   From them on out, however it succeeds without a 
problem:


libURLSetStatusCallback "myProgress",the long ID of button "Monitor"
libURLFTPUploadFile localfiletoupload, (gServerPath & tFileName)
     
if the result contains "error" then
     put "Drats!   It didn't connect.   We'll try a second time... :" & error
     unload URL (gServerPath & tFileName)
     libURLSetStatusCallback "myProgress",the long ID of button "Monitor"
     libURLFTPUploadFile localfiletoupload, (gServerPath & tFileName)
end if



The error message is just "error" the first time (not too descriptive).   I'm 
wondering - - the server is a bit sluggish.   It it possible that I need to 
be somehow "awakening" the connection before attempting the first 
libURLFTPUpload process?
     
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to