WinSCP Noob, having a nightmare scripting
Hi,
I'm trying to automate a copy job. it's just local at the moment as I want to test the logging.
"D:\Program Files\WinSCP\WinSCP.com" /script:"D:\Script\Test.txt"
It fails with the following error:
batch on
confirm off
transfer binary
Searching for host...
Network error: Connection refused.
No session.
D:\test
No session.
No session.
Could really do with a kick in the right direction :)
Cheers T1b
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:
batch on
confirm off
transfer binary
Searching for host...
Network error: Connection refused.
No session.
D:\test
No session.
No session.
Could really do with a kick in the right direction :)
Cheers T1b