Re: No connection to SFTP partner possible via batch script Server 2016
Your script relies in stored site
As such it's not portable to another machine.
You have to transfer your WinSCP configuration in Windows registry to the new machine.
https://winscp.net/eng/docs/config#transfer
Or even better change your script not to rely on the stored site.
https://winscp.net/eng/docs/scripting#configuration
If you check a WinSCP log file on the original machine, you will find a suggestion of the correct
price
.
As such it's not portable to another machine.
You have to transfer your WinSCP configuration in Windows registry to the new machine.
https://winscp.net/eng/docs/config#transfer
Or even better change your script not to rely on the stored site.
https://winscp.net/eng/docs/scripting#configuration
If you check a WinSCP log file on the original machine, you will find a suggestion of the correct
open
command to use. Search for "In scripting you should not rely on saved sites, use this command instead:"