How to zip a file in Webmethods ?

Hi All,
Do you know how to zip a txt file in Webmethods?
Thanks.
Crane

Crane,

Take a look at the example provided in the PSUtilities package:

PSUtilities.zip:zipFiles

Hope this helps!

cheerio
Andrew

Hi Andrew,
Thank you so much.I just get the service sample.string:zip in Package WmSamples to zip txt file, but I fail to extract the zip file because the zip file is damaged.I have no the PSUtilities package, could you provide it to me ?
thanks
Crane

Hi Crane

You can download the PSUtilities package from advantage site and also it has the package documentation.

Regards
Krishna

You won’t find this useful right now, but …

HTTP 1.1 servers can compress data transparently:
http://www.webreference.com/internet/software/servers/http/compression/
( I believe Gzip compression is used. )
From what I’ve heard, the upcoming IS 7 release (mid-2007) will HTTP 1.1 and built-in compression support.