Chilkat Examples

ChilkatHOMEAndroid™Classic ASPCC++C#Delphi ActiveXDelphi DLLVisual FoxProJavaMFCObjective-CPerlPHP ActiveXPHP ExtensionPowerShellPythonRubySQL ServerUnicode CUnicode C++Visual Basic 6.0VB.NETVBScript

VBScript Examples

Certificates
Email Object
Encryption
FTP
HTML-to-XML/Text
Gzip
HTTP
IMAP
MHT / HTML Email
PFX/P12
Java KeyStore (JKS)
POP3
RSA Encryption
MIME
SMTP
Socket/SSL/TLS
SSH Key
SSH
SFTP
Tar Archive
XML
XMP
Zip

More Examples...
Amazon S3
Bounced Email
CSV
Diffie-Hellman
DKIM / DomainKey
NTLM

 

 

 

 

 

 

 

Create WinZip Compatible AES Encrypted Zip

Create WinZip Compatible AES Encrypted Zip.

set zip = CreateObject("Chilkat.Zip2")
zip.UnlockComponent "anything for 30-day trial"

' Set Encryption = 4 for WinZip compatible AES encryption.
zip.Encryption = 4
zip.EncryptKeyLength = 256
zip.SetPassword "test"

zip.NewZip "myZip1.zip"

' You may either append files from directories,
' or append from in-memory data:
recurseDirectories = 0
zip.AppendFiles "myFiles/*",recurseDirectories
zip.AppendData "test.txt","test test test"

zip.WriteZipAndClose

 

 

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