On 3/26/2015 8:31 PM, Dr. Hawkins wrote:
In my attempts to provide backups of databases, I have a sequence that
gathers the commands and executes

   open file outfile for binary write
    write compress(theData )to file outfile

Another routine has

    put url infile into theData
    switch
       case infile ends with ".gz"
          put decompress(theData) into theData
          break
    end switch

I get
stack "mcp": execution error at line 11923 (decompress: error during
decompression), char 1

On the attempt to decompress.

If I instead open the file from the OSX finder, it decompresses correctly.

There don't seem to be any options to affect this.


Is the file opened as a binary file?

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to