Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

rodeopepper

Deleting remote files after successful remote to local synch

I have tried to implement the scrit posted on the WinSCP page.

https://winscp.net/eng/docs/library_example_delete_after_successful_download

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).