Shared Compression for VB.NET and PHP

  • Thread starter Thread starter MARTIN LANNY
  • Start date Start date
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
 
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.
 
Back
Top