Re: Able to connect to sftp server using GUI but not through batch script
The code generated for "Batch file" format passes commands to WinSCP on its command-line using
So again, I believe you have copied the
/command switch. There, % needs to be doubled. While, as the UnableToConnect.txt log file shows, you are using a WinSCP script specified using /script switch. In a WinSCP script, you do not double the %.
So again, I believe you have copied the
open command from a code generated for the "batch file" format into a WinSCP "script file", instead of using a code generated for the "script file" format.