Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: So close

What should I specify?
Can you post the log file?
nugget3826

So close

As I said in title I think I’m very close. I am confused about parameters in the OPEN command. I believe the server key is correct. If you could specify, IN ENGLISH, it might clear up a lot.
I appreciate your response ! Lar
martin

Re: I'm so close...

The exclamation mark is a part of the error message. It has nothing to do with your problem.

You most probably specified a wrong fingerprint in your script.

If you want our help, please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
nugget3826

I'm so close...

So, I'm trying to buil;d an automated FTP file upload using WINSCP. I'm close - I think.
I did have an issue on how to pass user and password. I think I'm past that - now.
Appears I had to enter a -hostkey="ssh-rsa 1024 keygoeshere...hQ=0"
When I run the batch, I get...
Host key does not match configured key "ssh-rsa keygoeshere...hQ=0"!
Where the heck did the ! (exclamation point) come from ???

Thanks,

Lar