airflow.providers.ftp.sensors.ftp
¶
Module Contents¶
Classes¶
Waits for a file or directory to be present on FTP. |
|
Waits for a file or directory to be present on FTP over SSL. |
- class airflow.providers.ftp.sensors.ftp.FTPSensor(*, path, ftp_conn_id='ftp_default', fail_on_transient_errors=True, **kwargs)[source]¶
Bases:
airflow.sensors.base.BaseSensorOperator
Waits for a file or directory to be present on FTP.
- Parameters
path (str) – Remote file or directory path
fail_on_transient_errors (bool) – Fail on all errors, including 4xx transient errors. Default True.
ftp_conn_id (str) – The ftp connection id reference to run the sensor against.