Chilkat Examples

ChilkatHOMEAndroid™Classic ASPCC++C#C# WinRTDelphi ActiveXDelphi DLLVisual FoxProJavaMFCObjective-CPerlPHP ActiveXPHP ExtensionPowerShellPythonRubySQL ServerUnicode CUnicode C++Visual Basic 6.0VB.NETVB.NET WinRTVBScript


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

 

 

 

 

 

 

 

Upload a File to an FTP Server

Uploads a single file to an FTP server.

set ftp = CreateObject("Chilkat.Ftp2")
ftp.UnlockComponent "any string begins the 30-day trial"

ftp.Username = "***.com"
ftp.Password = "***"
ftp.Hostname = "ftp.***.com"

ok = ftp.Connect()
if (ok <> 1) then
	MsgBox ftp.LastErrorText
end if

localFile = "examples.zip"
remoteFile = "x.zip"
ok = ftp.PutFile(localFile, remoteFile)
if (ok <> 1) then
	MsgBox ftp.LastErrorText
end if

 

 

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