Hello together!
I want to automate file transfer with winscp. But I always get the error
Unknown command 'ÿ_o'
I use following command:
.\WinSCP.com /script=scp.txt
The content of
scp.txt
is:
option batch on
option confirm off
open nabackup@x9149.spar.local.at
bin
put C:\adm\VMbackup\VMware-ESX-aecpitsp01
put C:\adm\VMbackup\VMware-ESX-atsl-dmgr01
put C:\adm\VMbackup\VMware-ESX-atsl-ecpa02
exit
The output is:
C:\Program Files (x86)\WinSCP> .\WinSCP.com /script=scp.txt
Unknown command 'ÿ_o'.
winscp>
When I open the winscp console (winscp.com) and try each command per hand, it works very fine.
I use the version
C:\Program Files (x86)\WinSCP>WinSCP.com /h
WinSCP, Version 4.3.2 (Build 1201)
Copyright (c) 2000-2011 Martin Prikryl
Can anybody help me please?
Thanks
Rainer