Airflow Summit 2021 is coming July 8-16. Register now!

apache-airflow-providers-sftp

Package apache-airflow-providers-sftp

SSH File Transfer Protocol (SFTP)

Release: 2.1.0

Provider package

This is a provider package for sftp provider. All classes for this provider package are in airflow.providers.sftp python package.

Installation

You can install this package on top of an existing airflow 2.1+ installation via pip install apache-airflow-providers-sftp

PIP requirements

PIP package

Version required

apache-airflow

>=2.1.0

apache-airflow-providers-ssh

>=2.1.0

paramiko

>=2.6.0

pysftp

>=0.2.9

sshtunnel

>=0.1.4,<0.2

Cross provider package dependencies

Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.

You can install such cross-provider dependencies when installing from PyPI. For example:

pip install apache-airflow-providers-sftp[ssh]

Dependent package

Extra

apache-airflow-providers-ssh

ssh

Downloading official packages

You can download officially released packages and verify their checksums and signatures from the Official Apache Download site

Changelog

2.1.0

Features

  • Add support for non-RSA type key for SFTP hook (#16314)

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Warning

Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

Features

  • Depreciate private_key_pass in SFTPHook conn extra and rename to private_key_passphrase (#14028)

1.2.0

Features

  • Undeprecate private_key option in SFTPHook (#15348)

  • Add logs to show last modified in SFTP, FTP and Filesystem sensor (#15134)

1.1.1

Features

  • SFTPHook private_key_pass extra param is deprecated and renamed to private_key_passphrase, for consistency with arguments' naming in SSHHook

Bug fixes

  • Corrections in docs and tools after releasing provider RCs (#14082)

1.1.0

Updated documentation and readme files.

Features

  • Add retryer to SFTP hook connection (#13065)

1.0.0

Initial version of the provider.

Was this entry helpful?