load URL OK

John Rule johnrule at rcsprogramming.com
Wed Jun 19 03:21:02 CDT 2002


At 2:36 AM -0700 6/18/2002, John Rule wrote:
>>  I haven't been able to figure out my problem with 'load URL', and I am
>> sure it is something easy (but not easy enough apparently!). Whenever I
load
>> a URL to a cached URL, and then save the data to my hard drive, the file
is
>> somewhat corrupted. It is a zip file from a web-site, and I can
double-click
>> it to view the contents, but when I try to extract, I get the error that
it
>> is not a valid file...the details states that there is an extra 5k bytes
of
>> 'stuff' that it doesn't like...what am I doing wrong?

> Are you using "binfile" rather than "file" when referring to the local
> file? Zipped files are binary files, so you'll need to use the "binfile"
> scheme to avoid corruption.


Yup...that's what it were.

  I am loading the URL as a cachedFile, and getting the status while the
download is happening (it's sort of a big file). Everything worked but
that...and now everything does!

Thanks,
JR

<This is awesome!>




More information about the use-livecode mailing list