apache-airflow-providers-sftp
Provider package apache-airflow-providers-sftp for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that adds SFTP (SSH File Transfer Protocol) capabilities to Airflow workflows. It supplies operators and hooks that let you define tasks to transfer files to and from remote SFTP servers, integrating seamlessly with Airflow's DAG execution model. The package depends on Apache Airflow 2.11.0 or later, the SSH provider, and SSH libraries (paramiko and asyncssh) to handle the protocol details.
You install it on top of an existing Airflow deployment and use it to build workflows that need to move files between local and remote systems over SFTP. It's part of the Apache Airflow ecosystem and follows Airflow's patterns for connections, task definitions, and error handling. The package supports Python 3.10 through 3.14 and is actively maintained by the Apache Airflow project.
Use it for:
- Build an Airflow DAG that downloads daily log files from a remote SFTP server for processing and analysis.
- Automate the transfer of processed data files back to a remote SFTP server after transformation in Airflow.
- Monitor and manage file operations (upload, download, list) on remote systems as part of a larger data pipeline.
- Integrate SFTP file transfers with other Airflow providers to create end-to-end ETL workflows.
- Schedule recurring SFTP file synchronization tasks between local and remote systems using Airflow's scheduling.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates SFTP file transfer operations into Apache Airflow workflows, providing operators and hooks to upload, download, and manage files on remote SFTP servers.
Yes. This is a stable, actively maintained Apache Airflow provider with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need SFTP file transfer operations in Airflow workflows. It requires Airflow 2.11.0+ and SSH-related dependencies, but those are standard for SFTP work and are clearly documented.
Install
apache-airflow-providers-sftp on PyPI
pip
pip install apache-airflow-providers-sftpuv
uv add apache-airflow-providers-sftppoetry
poetry add apache-airflow-providers-sftpInstalling apache-airflow-providers-sftp
Before you install
Low friction install as a pure Python wheel. Requires Apache Airflow 2.11.0 or later and several SSH-related dependencies (paramiko, asyncssh, apache-airflow-providers-ssh). Actively maintained with recent release (6 days old) and no known vulnerabilities.
License in practice
Apache License 2.0 (permissive) — you can use, modify, and distribute this package freely in commercial and open-source projects, with standard attribution and liability disclaimers.
Quickstart
pip install apache-airflow-providers-sftp
from airflow.providers.sftp.operators.sftp import SFTPOperator
from airflow import DAG
with DAG('sftp_example') as dag:
task = SFTPOperator(
task_id='sftp_task',
ssh_conn_id='sftp_server',
local_filepath='/local/file.txt',
remote_filepath='/remote/file.txt',
operation='put'
)
Requires an existing Apache Airflow 2.11.0+ installation and a configured SSH connection in Airflow's connection store.
Verify before relying
- Whether the package supports async SFTP operations natively or only through asyncssh as a backend.
- What specific SFTP operations (list, delete, mkdir, etc.) are available beyond upload/download.
- Whether optional dependencies like sshfs enable additional functionality or are for advanced use cases only.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — aiofiles, apache-airflow, apache-airflow-providers-ssh, apache-airflow-providers-common-compat, paramiko, asyncssh |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,243,047/month — #2,354 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_sftp-6.0.1-py3-none-any.whl
Keywords: airflow-provider, sftp, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-ftpProvides FTP integration for Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-sshProvides SSH integration for Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-standardProvides standard operators, hooks, and sensors…
permissive · top 5,000 on PyPI
apache-airflow-providers-microsoft-azureIntegrates Apache Airflow with Microsoft Azure…
permissive · top 5,000 on PyPI
apache-airflow-providers-common-ioProvides common I/O utilities and operators for…
permissive · top 5,000 on PyPI
apache-airflow-providers-oracleIntegrates Apache Airflow with Oracle…
permissive · top 5,000 on PyPI
apache-airflow-providers-smtpAdds SMTP email sending capabilities to Apache…
permissive · top 5,000 on PyPI
apache-airflow-providers-githubProvides GitHub integration operators and hooks…
permissive · top 15,000 on PyPI
files-comPython client library for the Files.com API,…
permissive · top 15,000 on PyPI
apache-airflow-providers-httpProvides HTTP operators, hooks, and sensors for…
permissive · top 1,000 on PyPI