Basic libURL bug?

Richard Gaskin ambassador at fourthworld.com
Sun Jan 2 19:17:00 EST 2011


Chipp Walters wrote:

> Can anyone confirm this for me?
>
> Create a stack. Add one field and one button.
> Set the script of the button to:
>
> on mouseUp
>    put ""
>    put URL "http://www.widgetgadget.com/stuff/test.log" into fld 1
>    put the number of lines in fld 1
> end mouseUp
>
> The button downloads a test log with 4558 lines of text.
>
> When I run this I get different results. libURL seems to download different
> amounts of the logfile. Is there something I'm doing wrong, or is this a
> libURL bug?
> (I've tried this from two different servers).

Ran it 10 times here - always returns "4558".

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv




More information about the Use-livecode mailing list