On 21/01/07, Dave Cragg <[EMAIL PROTECTED]> wrote:

You could use libUrlDownloadToFile to do an asynchronous load
directly to a file instead of the cache. Or in the callback message
for load, save the url to a local file. For example:

load url myUrl with message "loaded"

on loaded pUrl, pStatus
   if pStatus = "cached" then
     put url pUrl into url ("binfile:" & pathToLocalFile)
   end if
   unload url pUrl
end loaded


Ah - thanks that should work. NB as "libUrlDownloadToFile" uses "ftp" rather
than "http" which "load" uses... I am wondering which is the faster and most
reliable method? I"ve never really trusted ftp and prefer to use http
whenever possible - but is that an unfounded prejudice? Is http faster? Are
there any differences in terms of firewalls? I am thinking in cases where
you control both the http web server and the ftp server.
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to