Download a stack file

AndyP smudge.andy at googlemail.com
Fri Oct 28 16:25:45 EDT 2011


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.




More information about the use-livecode mailing list