get URL and decompress()

Mark Brownell gizmotron at earthlink.net
Wed Sep 22 17:01:05 EDT 2004


On Wednesday, September 22, 2004, at 01:05 PM, jbv wrote:

> But then I try to put it on a server, and access to it as
> follows :
>
>   get URL "http://www.myDomain.com/myFile.txt"
>   put decompress(it) into temp
>
> and it returns an error, as content isn't recognized as
> compressed data.
>
> What did I miss ?
>
> Thanks,
> JB

Try adding base64 encode/decode to the process for files that are used 
over the internet. I know that it adds a little more size to it but it 
does protect it from all those OS differences.

Mark



More information about the use-livecode mailing list