Post a reply

Options
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)

Options

Topic review

BenBrown

Use WinSCP to download multiple files from SFTP server on custom port?

Hi all! I've been trying to find an existing script or automation solution for this task, and StackExchange has several cool answers from Martin Prikryl – so I thought to ask directly here instead:

What I have:

  • SFTP server with custom port,
  • login+password,
  • exact path and filename pattern for the bits I want to download.

What I want:

  • A Windows shell script that can be run weekly to log into that SFTP server and retrieve files that match the filename pattern.

Before I spend lots of time trying to build such a script myself, perhaps you've already used something like this and can point me in the right direction?