Re: Okay here is how you do it
@aja206:
In general, easiest is to have WinSCP GUI generate the commandline for you:
https://winscp.net/eng/docs/ui_generateurl#script
- Do not use
*
in the first place, that's insecure. - For SFTP, idiomatic is use of
-hostkey
, not-certificate
(no matter that internally, they are aliases). - An example of syntax is shown here:
https://winscp.net/eng/docs/scriptcommand_open#examples
Though on commandline it gets bit more complicated:
https://winscp.net/eng/docs/commandline#syntax
In general, easiest is to have WinSCP GUI generate the commandline for you:
https://winscp.net/eng/docs/ui_generateurl#script