Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ Delphi FoxPro Java Perl Python Ruby SQL Server VBScript
|
.Z File CompressionUse LZW compression to create a .Z compressed file. Compresses any single file into a .Z format compressed file. (Chilkat's .Z compression functionality is included as part of the Chilkat Zip license.) <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <% set uc = Server.CreateObject("Chilkat.UnixCompress") ' Any string unlocks the component for the 1st 30-days. success = uc.UnlockComponent("Anything for 30-day trial") If (success <> 1) Then Response.Write uc.LastErrorText & "<br>" End If success = uc.CompressFile("hamlet.xml","hamlet.xml.Z") If (success <> 1) Then Response.Write uc.LastErrorText & "<br>" Else Response.Write "Success." & "<br>" End If %> </body> </html> |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.