use-revolution digest, Vol 1 #403 - 13 msgs

HangTime revolutionist at mac.com
Wed May 15 16:54:32 EDT 2002


yes, one thing jumps out at me, using "file" in the fileToSave path.  change
that to binfile as in:
 
 put "binfile:/Macintosh HD/myProduct/mystack.rev" into fileToSave


> Message: 13
> Date: Wed, 15 May 2002 09:53:41 -0700
> Subject: Download Woes
> From: Dan Friedman <dan at clearvisiontech.com>
> To: <use-revolution at lists.runrev.com>
> Reply-To: use-revolution at lists.runrev.com
> 
> Dear incredible and knowledgeable Rev users,
> 
> 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 "http://www.mysite.com/updates/mystack.rev" 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?
> 
> I'd rather do the compress/decompress to download files, but all I do is
> crash my computer.  I used "MacGzip" to "gz" the stack, then posted the
> stack as a binary file to my web site.  Loaded the gz into memory, then try
> to decompress... And POOF!... I get a 5 minute break to restart.  Then I
> have to reinstall Revolution.
> 
> My goal is to simply update a stack on the users system from a download...
> That's all.  Any thoughts or solutions would be appreciated!
> 
> Thank you for your time,
> 
> Dan.
> 
> 
> PS, is there a "Rev Programmer's Retirement Fund" I can donate to?  This
> list is always so friendly and helpful!
> 




More information about the use-livecode mailing list