Following similar suggestions from Sarah Reichelt and Andre Garzia, I
created special handlers that use the libURLDownloadToFile command, like so:


libURLDownloadToFile
tFileOnWebtoGet,tFileNameOfDownloadedFile,"downloadDone"

 Then I have a handler

on downloadDone
 --
end downloadDone

which checks to see if the download queue is empty, and if so, quits. The
problem is that on downloadDone never seems to get called. There must be an
error in downloading the first file, which has the correct name in the local
directory, but is empty.


well, there is a stunning array of potential problems, i am realizing. but
when i do a test for an error message on download, i get:


"error, url is currently loading"

what is this about, since the handler that called that url should be long
done? is there a way to wipe the ftp slate clean?


Hi Rand,

The resetAll command is useful of things are going wrong as it will reset all open connections.
Check out the libURLSetLogField and libURLSetStatusCallback commands. They are excellent for troubleshooting all such file transfers.
After calling libURLDownloadToFile, check the result immediately. Sometimes an error can show up right away.


Cheers,
Sarah


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to