Download a stack file

Peter Bogdanoff bogdanoff at
Thu Nov 10 04:08:02 EST 2011

This did work for a while. Now it is not working-- the cached message is not sent.

I tried putting a wait until URLStatus is "cached" but the program waited indefinitely, so it seems that it is not loading from this remote server. The file is available (I used an FTP application to test download it--took a few seconds.)

Did 5.0 break something?

The file I'm downloading is:
	load URL "" with message "downloadDone"


On Oct 28, 2011, at 1:25 PM, AndyP wrote:

> 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.
> - made with LiveCode (v1.4.1 released 26/08/2011)
> --
> View this message in context:
> Sent from the Revolution - User mailing list archive at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list