On 22 Jan 2007, at 16:39, David Bovill wrote:

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...

You can use both load and libUrlDownloadToFile with http and ftp urls.

Cheers
Dave

_______________________________________________
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