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
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"