To run SFTP in command line under Windows:
-
-
- Download psftp.exe which is the SFTP client of putty.
- use following command
psftp -l user -P port -i private_key_file hostname
- Here’s a link to common sftp commands after link has been made
- Also, here’s a way to psftp to execute batch file
psftp -b batchfile
- Helpful article about running psftp in batch
- Click HERE for helpful examples
-