How to interrupt a get URL http... command

Bill Vlahos bvlahos at mac.com
Tue Jan 12 23:19:58 EST 2010


OK. I'm able to "load" the URL to the cache. How do I get the text of the downloaded web page?

I see the file in the list of cached urls but I don't see how to get the text.

Bill Vlahos

On Jan 11, 2010, at 11:27 PM, Bill Vlahos wrote:

> Scott,
> 
> Perfect. Thank you.
> 
> Bill Vlahos
> 
> On Jan 11, 2010, at 10:14 PM, Scott Rossi wrote:
> 
>> In some of my stacks, I use "loadURL <URL>" to download a stack, and "unload
>> url <URL>" to cancel an active download.  I believe this will still work if
>> the download hangs.  I also use an animated indicator (to show things are
>> active during the download) which is stopped as soon as a download is
>> canceled or completed.
>> 
>> Hope this helps.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX Design
>> 
>> 
>> 
>> Recently, Bill Vlahos wrote:
>> 
>>> I issue a "get URL "http://..." command to load a very small file from the web
>>> page. This usually behaves well and loads instantly even on slow network
>>> connections because the http file. If there is good a good network connection
>>> to the Internet it gets the download. If there isn't a connection at all it
>>> downloads nothing and errors out well and if usually notifies the user very
>>> quickly.
>>> 
>>> However, I sometimes the Internet connection is either extremely slow or
>>> otherwise problematic. In this case nothing appears to be happening until the
>>> statement times out. Unfortunately waiting for it to time out takes a long
>>> time to the user and I want to give them a chance to cancel it.
>>> 
>>> The Rev docs suggest using the "load" command instead.  The Rev docs state
>>> that "get URL" commands are blocking. The handler pauses until Rev is finished
>>> accessing the URL. I would like to present a "Cancel download" button to the
>>> user in the event it is taking too long. How do I configure this?
>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> Bill Vlahos
> _________________
> InfoWallet (http://www.infowallet.com) helps me remember the important details of my life.
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list