Downloading files using load URL
Jeanne A. E. DeVoto
jeanne at runrev.com
Tue Jun 18 10:33:00 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.
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
More information about the use-livecode