exit command not working

Advertisement

overnighdj
Guest

exit command not working

i have the following batch file to get the files in a dir

script runs fine
but will not exit and logoff server

gives prompt c:\winscp

can anyone tell me what is wrong

winscp.com /command ^
"open sftp://login:password@ftp.hostname.com" ^
"cd /Cindy/1Mon/" ^
"get * c:\cindy\" ^
"exit"

Reply with quote

Advertisement

overnighdj
Guest

exit command not working

Yes that does work but it gets all the files on the server

I was looking for the files in one single sub folder only

Reply with quote

Advertisement

You can post new topics in this forum