i use below script to get all folders and files from my server to local hard disk inside specific path
winscp.com /command "option batch continue" "option confirm off" "open MyServer" "put / D:\Daily_Backup\yesterday\backup\vol\ "exit"
but after running i got this error:
C:\>winscp.com /command "option batch continue" "option confirm off" "open MyServer" "put / D:\Daily_Backup\yesterday\backup\vol\" "exit"
Connecting to MyServer ...
Connected with MyServer. Waiting for welcome message...
Starting the session...
Reading remote directory...
Active session:  MyServer
/ | 0 KiB | 0.0 KiB/s | binary | 0%
Copying files to remote side failed.
Error creating folder '/vol/D:Daily_Backupyesterdaybackupvol/'.
Could not create directory "/vol/D:Daily_Backupyesterdaybackupvol"
i thought that i have mistake in synatx of command but i do not know where is my problem,please let me know and how can i fix that.