ASP Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

ASP Examples

ASP String
ASP Byte Array
Bounced Mail
Bz2
Character Encoding
CSV
Digital Certificates
Digital Signatures
Email
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar
ASP Upload
XML
XMP
Zip Compression

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
DH Key Exchange
DSA
FileAccess
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
Bzip2
LZW

 

 

 

 

 

 

Untar a .tar.Z (.taz) Compressed Archive

Untar a .tar.Z (.taz) compressed archive.

Download 32-bit Chilkat TAR ActiveX (.msi)

Download All 32-bit Chilkat ActiveX Components (.zip)

Download All 64-bit Chilkat ActiveX Components (.zip)

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<%
'  Important: It is helpful to send the contents of the
'  tar.LastErrorText property when requesting support.

'  Untar a .tar archive.
set tar = Server.CreateObject("Chilkat.Tar")

'  Any string automatically begins the 30-day trial.
success = tar.UnlockComponent("Anything for 30-day trial")
If (success <> 1) Then
    Response.Write "<pre>" & Server.HTMLEncode( tar.LastErrorText) & "</pre>"

End If

'  Untar into c:/temp/untarDir.  The directory tree(s) contained
'  within the TAR archive will be re-created rooted at this
'  directory.
tar.UntarFromDir = "/Users/chilkat/temp/untarDir"

'  If any filepaths within the Tar archive are absolute,
'  automatically make them relative by removing the first
'  forward or backward slash.  This protects from untarring
'  files to unexpected locations.
tar.NoAbsolutePaths = 1

success = tar.UntarZ("/Users/chilkat/testData/tar/abc123.tar.Z")
If (success <> 1) Then
    Response.Write "<pre>" & Server.HTMLEncode( tar.LastErrorText) & "</pre>"
Else
    Response.Write "<pre>" & Server.HTMLEncode( "Success") & "</pre>"
End If

%>
</body>
</html>

 

© 2000-2012 Chilkat Software, Inc. All Rights Reserved.