mysterious Byte increasment with compress - decompress
Tiemo Hollmann TB
toolbook at kestner.de
Thu Nov 27 04:00:11 EST 2008
Hello,
when compressing and decompressing any files with the following statements
(assuming that "it" has the right values)
put compress(URL ("file:" & it)) into URL ("binfile:" & it & ".gz")
put decompress(URL ("binfile:" & it)) into URL ("file:" & item 1 to -2 of
it)
the resulting decompressed file has another number of Bytes as the original
file and in case of a rev stack it is corrupted, when trying to open it.
What am I doing wrong? Probably something with the file - binfile - file,
but I don't see it
Thanks
Tiemo
More information about the use-livecode
mailing list