I'm trying to automate a copy job. it's just local at the moment as I want to test the logging.
option batch on option confirm off option transfer binary open 127.0.0.1 cd D:\Axway\ lcd "D:\test\" put *.* close exit
"D:\Program Files\WinSCP\WinSCP.com" /script:"D:\Script\Test.txt"
It fails with the following error:
Searching for host...
Network error: Connection refused.
Could really do with a kick in the right direction :)