Topic "Deleting remote files after successful remote to local synch"

Author Message
[View user's profile]

Joined: 2014-06-18
Posts: 1
I have tried to implement the scrit posted on the WinSCP page.

After much work I have at least got to the point where it is trying to negotiate with the host but I am now getting the Error "Host key wasn't verified!" I have rerun the puttygen.exe and created new public and private keys and entered the Key fingerprint into the $sessionOptions.SshHostKeyFingerprint field (hopefully that was the correct location). Is there something more I need to do? I have no idea how all of this works but I am guessing that the FTP server I am trying to connect to does not have the public key (totally guessing here).
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
Host key has nothing to do with your account private key.

For host key see:

Anyway, if you connect to FTP server (not SFTP server), it indeed has no host key. But you need to set the FTP protocol using SessionOptions.Protocol = Protocol.Ftp.
Martin Prikryl

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