# I'm so close...

nugget3826
Joined:
Posts:
2
Location:
WV

## 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

martin
Joined:
Posts:
36,692
Location:
Prague, Czechia

## 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

## 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