Where your code reads:
if the result contains "error" then
put "Drats! It didn't connect. We'll try a second time... :" & error
Shouldn't that be:
put "....." & the result
???
On Sep 17, 2004, at 1:07 PM, [EMAIL PROTECTED] wrote:
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
----------------------------------------------------------- Frank D. Engel, Jr. <[EMAIL PROTECTED]>
___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
