CuteFTP Professional User s Guide
"WarnWhenToNonSecure"=dword:00000001
"DataTransportMethod"=dword:00000001
"SSLCertPassphrase"="[PASSWORD]"
Where [USERNAME] is the login name for the target system and where
[PASSWORD] is the encrypted password exported from the source machine. Don t
modify the password!
At the next connection, the TE finds the client certificate and uses it to authenticate with the
server.
Example
Here is a sample script that connects to a fictitious site running SSL Implicit over port 990.
It also writes to the event log for debugging purposes. if you use this script to test your
setup, make sure you modify the MySite.Host line to include your actual FTP SSL server
host and login information.
#file test.vbs
Const EVENT_SUCCESS = 0
Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.LogEvent EVENT_SUCCESS,"AT Loaded me"
Set MySite= CreateObject("CuteFTPPro.TEConnection")
MySite.Option ("ThrowError") = True
MySite.Host =
"ftp://myuser:mypass@ftp.mysslserver.com:990
objShell.LogEvent EVENT_SUCCESS,"vars set"
MySite.Connect
objShell.LogEvent EVENT_SUCCESS, "connected"
MySite.Disconnect
MySite.Close
238
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved