I am looking for help on getting a command line script written which will connect to our SFTP site and copy any new or updated files from SFTP to our local drive.
I currently have the following which works for a handful of files but then stops and i am not sure why.
cd c:\Program Files (x86)\winscp
winscp.exe /console /Command "option batch abort" "option confirm off" "open sftp://Username:Password@IP:Port/" "cd /QlikView/" "option transfer binary" "get *.* C:\VeoliaData\" "close" "Exit"
the above should go to the QlikView directory and transfer everything from it to the local directory (C:\VeoliaDate\)
Can anyone help please?