Use a callback to check when the loaded file is cached (fully loaded) and
then save the file via a url.

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 





-----
Andy Piddock


My software never has bugs. It just develops random features.
PointandSee is a FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk - made with LiveCode (v1.4.1 released 26/08/2011)


--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Download-a-stack-file-tp3947074p3949126.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to