Help with automating some files batch file

Advertisement

theMezz
Joined:
Posts:
6
Location:
CNY

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\*

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum