revzip lib
Posted: Mon Mar 28, 2011 9:48 am
Hello,
I am new to LiveCode and I am struggling to using the revZip library.
Here is what I try to achieve :
I use the GET command to access a http URL.
I receive the answer to the GET command in the "IT" variable.
The Web server is sending me a zip stream (option" Content-Encoding"; "deflate" in the http header, this option is supported by almost all modern browsers).
I have tried to access this URL with Firefox and it works well, firefox deflates the data automatically.
I can't decompress this stream with LiveCode.
I have tried to store this stream in a binary file but the file is unreadable.
Anyone has an idea how to compress this stream ?
Thanks in advance.
I am new to LiveCode and I am struggling to using the revZip library.
Here is what I try to achieve :
I use the GET command to access a http URL.
I receive the answer to the GET command in the "IT" variable.
The Web server is sending me a zip stream (option" Content-Encoding"; "deflate" in the http header, this option is supported by almost all modern browsers).
I have tried to access this URL with Firefox and it works well, firefox deflates the data automatically.
I can't decompress this stream with LiveCode.
I have tried to store this stream in a binary file but the file is unreadable.
Anyone has an idea how to compress this stream ?
Thanks in advance.