Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Help with automating some files batch file

I am trying to download only mkv and avi files even in sub directories on the server
I got this so far in a batch file. When I run it I end up at a winscp> prompt
The name, pass, server and key's are correct.
winscp /script  

open %sftp_server%
user %sftp_username%
password %sftp_password%
hostkey %sftp_hostkey%
get  downloads/completed/* K:\inbound5\*