At 1:10 PM -0700 4/22/2002, Tim wrote:
>     Hi, I'm having difficulties compressing and uploading a stack
>to my FTP server. Here's the code:
>
>
> on mouseUp
>   save stack "TestStack"
>   put "PowerBookHD/Revolution Projects/TestStack.rev" into \
> tLocalFile --TestStack is a Revolution Stack containing 3 other substacks
>   put compress(tLocalFile) into URL
>"ftp:[EMAIL PROTECTED]:[EMAIL PROTECTED]/www/TestStack
>"
>   close stack "TestStack"
> end mouseUp
>
> What am I missing?

It looks like your second line ("put...") is the problem. This puts the
literal string into tLocalFile, which you don't want. Try substituting this:

  put URL "binfile:/PowerBookHD/Revolution Projects/TestStack.rev" \
     into tLocalFile

That should work.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to