Topic "WINSCP using VBScript"

Author Message
[View user's profile]
Joined: 2013-03-22
Posts: 19
Location: Indiana
I can access our Filezilla FTP Sever using and a script file after creating a Session with file protocol of FTP and Encryption set to TLS Explicit Encryption. I looked for examples that uses vbscrpt. I'm not even sure if I can use vbscript to connect to a Filezilla FTP server using the above session setup. Can I? If so what would I set these settings to to connect? Can I synchronize?

Dim sessionOptions
Set sessionOptions = WScript.CreateObject("WinSCP.SessionOptions")
With sessionOptions
.Protocol = Protocol_Sftp <---- This one
.HostName = ""
.UserName = "user"
.Password = "mypassword"
.SshHostKeyFingerprint <--- We don't use a key
End With

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
Socko71 wrote:
.Protocol = Protocol_Sftp <---- This one


.SshHostKeyFingerprint <--- We don't use a key

This is a host key, not a client key. There's always a host key to verify.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License