Changing Directory dont work
Hello,
i have this command line:
C:\Programme\WinSCP\WinSCP.exe /console /command "option batch on" "option confirm off" "open User@123.123.123.123:21" /privatekey="I:\projects\putty-key_ssh-2_rsa.ppk" "cd /OUT/"
Everything works fine, but the command for directory changing ("cd /OUT/") does not work (i tried many combinations: with/without quotes etc...). If I shell the command line it logs onto the server and just ignores the cd /OUT/. If I type cd /OUT/ manually, it works fine.
It seems, that every command after the privatekey-command gets ignored (for example: exit).
Can somebody please help to fix my syntax problem? Version is up to date: 4.2.9
Thank you very much!
i have this command line:
C:\Programme\WinSCP\WinSCP.exe /console /command "option batch on" "option confirm off" "open User@123.123.123.123:21" /privatekey="I:\projects\putty-key_ssh-2_rsa.ppk" "cd /OUT/"
Everything works fine, but the command for directory changing ("cd /OUT/") does not work (i tried many combinations: with/without quotes etc...). If I shell the command line it logs onto the server and just ignores the cd /OUT/. If I type cd /OUT/ manually, it works fine.
It seems, that every command after the privatekey-command gets ignored (for example: exit).
Can somebody please help to fix my syntax problem? Version is up to date: 4.2.9
Thank you very much!