Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>SFTP / SSH download
SFTP / SSH download

SFTP / SSH download

BE-terna d.o.o.

|
1,283 installs
| (1) | Free
SFTP / SSH file Download task for Azure DevOps build and release pipeline.
Get it free

BE-terna ~~Adacta~~ SFTP / SSH Download

Azure DevOps Pipelines Extension for build and release pipelines.

BE-terna acquired Adacta in 2019.

SFTP / SSH Download task

Download files from remote SSH connection via SFTP client to pipeline agent.

Usage

SFTP Download with hostname option

Parameters

  • Source files: remote source path.
    Can be minimatch file pattern. More Information
    Example: **

  • Destination path: agent local target path. May be source, artifact or any other local path.
    Example: $(Build.SourcesDirectory) (default working directory), $(Build.StagingDirectory)

  • SSH Connection - Connection Type:

    • SSH Connection: Select pipeline service connection of type ssh.

    • Hostname:

      • SSH Hostname: Host name or IP address of the remote machine with optional port.
        Example: sftp.company.com or hostname:22

      • Username: Username / login.

      • Password / Key passphrase: Provide the password or the passphrase for the private key if using a key-pair. Use secret variable.
        Example: $(sshPassword)

      • Secure File Path: Filename of secure file. Use Download Secure File task and set output variable name (Reference name under Output Variables).
        Example: $(SecureKey.secureFilePath)

  • Advanced

    • Clean target folder: Delete all existing files and sub-folders in the target folder before copying.
  • Output Variables

    • ProcessedFilesCount: Number of processed files.

YAML

yaml example:

steps:
- task: adacta.azdevopsSFTP.task-sftp-download.sftpDownload@0
  displayName: 'SFTP Download'
  inputs:
    sourcePath: /src/d365fo/sl
    target: a/sl
    cleanTargetFolder: false
    connectionType: hostname
    sshHost: my.sftp.server
    username: myUsername
    password: '$(Parameters.password)'
    secureFilePath: '$(SecureKey_AdTrans.secureFilePath)'

Release Notes

1.3 2020-11-05

  • Fixed bug with extension manifest target #3

1.2 2019-10-18

  • Fixed bug with empty source
  • Added ApplicationInsights

1.1 2019-03-11

  • Clean target folder option added

1.0 2019-03-01

  • Initial version (preview)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft