Shared Compression for VB.NET and PHP

M

MARTIN LANNY

Upon a call from my windows based vb.net program, Php script on a
remote server grabs data from MySQL database and exports it into string
and saves to a txt file I download and parse in my VB.NET application.
Sometimes there is lot of data to download and it takes a while.
What I need is for php to zip the data and save it compressed. And then
download the zipped data to my vb.net program and unzip it before I
parse it.
Is there some free compression which would produce the same results in
php and vb.net?
Something like free zip or rar component for both languages?
Thanks for your help. This would speed up our application tremendously.
Martin
 
G

Guest

MARTIN LANNY said:
Upon a call from my windows based vb.net program, Php script on a
remote server grabs data from MySQL database and exports it into string
and saves to a txt file I download and parse in my VB.NET application.
Sometimes there is lot of data to download and it takes a while.
What I need is for php to zip the data and save it compressed. And then
download the zipped data to my vb.net program and unzip it before I
parse it.
Is there some free compression which would produce the same results in
php and vb.net?
Something like free zip or rar component for both languages?
Thanks for your help. This would speed up our application tremendously.
Martin

If the PHP server is *nix based then you could gzip the text file and then
use something like:
http://www.icsharpcode.net/OpenSource/SharpZipLib/
from your .NET app to decompress it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top