<HTML>
<HEAD>
<TITLE>Decompress and different platforms</TITLE>
</HEAD>
<BODY>
<FONT FACE="Geneva">Hi,<BR>
<BR>
One way I share one revo project between 2 platforms (PC and Mac) is by having the shell stack (the stack that opens the real modifiable stack) compress and ftp the stack that gets modified to a server. Then the same shell stack on a different platform downloads the modified stack and does the same thing. The script looks something like this:<BR>
<BR>
-- Script in the shell stack<BR>
<BR>
on preOpenStack<BR>
  get the platform<BR>
  if it is "MacOS" then<BR>
    put "PowerBookHD/Revolution Projects/someProject.rev" into tLocalFile<BR>
  else<BR>
    put "C:/Documents and Settings/Administrator/Desktop/someProject.rev" into tLocalFile<BR>
  end if<BR>
  set the cursor to busy<BR>
  put URL "ftp://username:password@ftp.ispname.com/www/somefolder/someProject.rev" into tRemoteFile<BR>
  put decompress(tRemoteFile) into URL tLocalFile<BR>
  toplevel stack tLocalFile<BR>
end preOpenStack<BR>
<BR>
<BR>
--Script in the “Close” button of the modifiable stack that gets uploaded<BR>
<BR>
on mouseUp<BR>
  get the platform<BR>
  if it is "MacOS" then<BR>
    put "PowerBookHD/Revolution Projects/someProject.rev" into tLocalFile<BR>
  else<BR>
    put "C:/Documents and Settings/Administrator/Desktop/someProject.rev" into tLocalFile<BR>
  end if<BR>
  set the cursor to busy<BR>
  save stack "someProject.rev"<BR>
 put compress(tLocalFile) into URL "ftp://username:password@ftp.ispname.com/www/somefolder/someProject.rev"<BR>
  close stack "someProject.rev"<BR>
end mouseUp<BR>
<BR>
--End of Tip--<BR>
<BR>
Now, everything worked fine until I tried it under OS X. Now when I open the shell stack and it tries to download and decompress someProject.rev, I get the following error message:<BR>
<BR>
Error description: decompress: string is not compressed data<BR>
<BR>
SomeProject.rev does not open. While compressing it and uploading is no problem. I should add that both comression/decompression work fine under W2K. The problem is only under OS X. Anyone have any thoughts?<BR>
<BR>
TIA,<BR>
-- <BR>
Tim<BR>
</FONT>
</BODY>
</HTML>