SFTPHook

SFTP

This hook is inherited from SSH hook. Please refer to SSH hook for the input arguments.

View on GitHub

Last Updated: Feb. 28, 2023

Access Instructions

Install the SFTP provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Documentation

This hook is inherited from SSH hook. Please refer to SSH hook for the input arguments.

Interact with SFTP.

Errors that may occur throughout but should be handled downstream.

For consistency reasons with SSHHook, the preferred parameter is “ssh_conn_id”.

param ssh_conn_id

The sftp connection id

param ssh_hook

Optional SSH hook (included to support passing of an SSH hook to the SFTP operator)

Was this page helpful?