Re: CMD Script to Upload file - put is ignored
The
/log
switch is misplaced. It interrupts the command list. Put it before the /command
or to the very end. And put the open
back.
"C:\Program Files (x86)\WinSCP\winscp.exe" /log="\\ccm-fs-01\sharedusers\SEI Export\FTP Setup\wscpresults.log" /command "open john:password@mfd.ftp.xxxx.com/" "put c:\TestAwayTradeBlotter041516.csv" "exit"