Download Woes

Scott Rossi scott at
Wed May 15 12:09:00 EDT 2002

Recently, "Dan Friedman"  wrote:

> I want to download a stack from my web site as a way to update my users.
> However, all I seem to get are errors.
> First, I post the stack as a binary file to my web site.  Then, I just run
> this:
> put "" into fileToDL
> put "file:/Macintosh HD/myProduct/mystack.rev" into fileToSave
> put url fileToDL into url fileToSave
> After it downloads and I try to "mystack.rev",  I get: "There was a problem
> opening that stack: stack was corrupted by a non-binary file transfer."
> Anything jump out at you?   What am I doing wrong?


put "binfile:/Macintosh HD/myProduct/mystack.rev" into fileToSave

"binfile" means binary file, which is what you want when reading a stack.
Otherwise, "file" means you're reading your stack as a text file.


Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
E: scott at

More information about the use-livecode mailing list