I have sorted it, thank you to Co-Pilot... :)
I'm happy to provide the scripts if anyone needs them.
I'm happy to provide the scripts if anyone needs them.
passphrase.txt
and it's formatted UTF-8.
/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.cd\
"c:\Program Files (x86)\WinSCP\WinSCP.exe" /log=c:\test\app.log /ini=nul /script=C:\test\app.txt
open sftp://user@testsite.com:2022 -hostkey="ssh-randomcharaters" -privatekey="C:\Program Files (x86)\WinSCP\private.ppk" -passphrase="actual passphrase"
cd /temp/test
put c:\test\testfile.csv
-passwordsfromfiles
, I cannot get it to work. Authentication fails...