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

LoganTennis

Re: Cannot set Setting SFTP KeyFile using scripting

Thank you I never got that out of everything I read.
martin

Re: Cannot set Setting SFTP KeyFile using scripting

open sftp://username@example.com/ -privatekey=mykey.ppk

See https://winscp.net/eng/docs/scriptcommand_open
But that's pretty obvious. So I guess you must have a different problem. But we can hardly know what that is, if you do not show us what are you doing.
LoganTennis

Re: Cannot set Setting SFTP KeyFile using scripting

I have read everything. Nothing makes sense, all I want to do is to create a script that can use a key file. What more could you possibly need?
martin

Re: Cannot set Setting SFTP KeyFile using scripting

Sorry, your post does not include enough information.

Please read how to troubleshoot problems with WinSCP. If it turns out that you are not able to help yourself, read how to ask for support or report bugs efficiently, so others can help you.
LoganTennis

Cannot set Setting SFTP KeyFile using scripting

Hi I am trying to connect to an SFTP server specifying a key file. Can not seem to get it to work