I have a script that works perfectly the batch file is
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\concur\log\WinSCP.log" /ini=nul /script="c:\concur\sftp_concur.txt"
Call the txt file that is
open sftp://<username>:passwd@IPAddress/ -hostkey="ssh-rsa 2048 blahblah"
this has worked perfectly on Windows 2008 but i have to upgrade to Windows 2019 and just doesn't work no error just no results!!
To complicate matters i also need to use Public and Private keys i have generated these and can connect to the site using the app but i can not get this to work on script!
This should be so simple!! Please help a frustrated admin!!!
It seems to work but i get no log file update nor do i get any connection with no error