<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>
&nbsp;&nbsp;get the platform<BR>
&nbsp;&nbsp;if it is &quot;MacOS&quot; then<BR>
&nbsp;&nbsp;&nbsp;&nbsp;put &quot;PowerBookHD/Revolution Projects/someProject.rev&quot; into tLocalFile<BR>
&nbsp;&nbsp;else<BR>
&nbsp;&nbsp;&nbsp;&nbsp;put &quot;C:/Documents and Settings/Administrator/Desktop/someProject.rev&quot; into tLocalFile<BR>
&nbsp;&nbsp;end if<BR>
&nbsp;&nbsp;set the cursor to busy<BR>
&nbsp;&nbsp;put URL &quot;ftp://username:password@ftp.ispname.com/www/somefolder/someProject.rev&quot; into tRemoteFile<BR>
&nbsp;&nbsp;put decompress(tRemoteFile) into URL tLocalFile<BR>
&nbsp;&nbsp;toplevel stack tLocalFile<BR>
end preOpenStack<BR>
<BR>
<BR>
--Script in the &#8220;Close&#8221; button of the modifiable stack that gets uploaded<BR>
<BR>
on mouseUp<BR>
&nbsp;&nbsp;get the platform<BR>
&nbsp;&nbsp;if it is &quot;MacOS&quot; then<BR>
&nbsp;&nbsp;&nbsp;&nbsp;put &quot;PowerBookHD/Revolution Projects/someProject.rev&quot; into tLocalFile<BR>
&nbsp;&nbsp;else<BR>
&nbsp;&nbsp;&nbsp;&nbsp;put &quot;C:/Documents and Settings/Administrator/Desktop/someProject.rev&quot; into tLocalFile<BR>
&nbsp;&nbsp;end if<BR>
&nbsp;&nbsp;set the cursor to busy<BR>
&nbsp;&nbsp;save stack &quot;someProject.rev&quot;<BR>
&nbsp;put compress(tLocalFile) into URL &quot;ftp://username:password@ftp.ispname.com/www/somefolder/someProject.rev&quot;<BR>
&nbsp;&nbsp;close stack &quot;someProject.rev&quot;<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>