Automate downloading files from SFTP

  1. Look for psftp.exe in puttygen’s website.
  2. Once downloaded, copy the file to:
C:\Windows\System32
cd folder1
get -r c:\DownloadFTPFiles\FromFTP
psftp 123.123.123.123 -l user1 -pw MyPassword123! -b "C:\DownloadFTPFiles\commands.txt"

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Puzzling is Developing is Puzzling

Advantages of Agile Software Development

Techverx: Advantages of Agile Software Development

How to integrate your AWS CodeCommit repository to Codefresh — Codefresh

Build a useful web application in Python: Geolocating Photos

Hierarchical Finite State Machine

Breaking down the Kafka architecture

How to get continuous stream of logs in Kubernetes?

Using Docker from Maven and Maven from Docker

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nadav Svirsky

Nadav Svirsky

More from Medium

My Journey with Accutane

Why Malloc store more Data then allocated Size

[34] Learn to code

From Pop-Ups to Slow Wi-Fi — Here’s How to Fix 5 Major Tech Annoyances