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

gculbert70@gmail.com

Figured it out

I just used WinSCP to generate a BAT file for me then used it instead of storing in in a test file that is called by a bat file.
gculbert70@gmail.com

Add on

Also this is running as a batch file
gculbert70@gmail.com

Password not working when scripting

Hey,
When using the WinSCP client I can login the the SFTP server but when I use a script it is throwing a "Authentication failed" error

Here is what I am using
open sftp://username:Password@URL/ -hostkey="info"

Now the password is complex and has a lot of characters in it and this is connecting to a Azure host SFTP server. But again if I use the client it works fine. I must be missing something.