scripting copy help
I am trying to use use winscp to copy files from a share on one server to a ftps.
I'm trying to test this locally first and have mapped the network share to K:
The script fails to change the directory for some reason. Is winscp capable of this?
I'm trying to test this locally first and have mapped the network share to K:
The script fails to change the directory for some reason. Is winscp capable of this?
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^ /log="C:\Program Files (x86)\WinSCP\log\WinSCP.log" /ini=nul ^ /command ^ "open ftps://URL" ^ "lcd K:" ^ "cd /" ^ "put *" ^ "exit"
< 2016-09-29 16:17:56.528 Script: Error changing directory to 'K:'. < 2016-09-29 16:17:56.528 System Error. Code: 3. < 2016-09-29 16:17:56.528 The system cannot find the path specified . 2016-09-29 16:17:56.528 Script: Failed . 2016-09-29 16:17:56.528 Script: Exit code: 1