Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
|
|
Uncompress .Z Unix Compress Format into String Variable
ASP uncompress from a .Z file format directly into memory.
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>
<%
' Unix .Z uncompress directly into a string variable
set z = Server.CreateObject("Chilkat.UnixCompress")
' The UnixCompress component is included in the "Chilkat Zip" license
z.UnlockComponent "anything for 30-day trial"
' Uncompress into a string:
s = z.UncompressFileToString(Server.MapPath("/data/helloWorld.txt.Z"),"windows-1252")
Response.Write "<pre>"
Response.Write s
Response.Write "</pre>"
%>
</body>
</html>
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.