airflow.providers.ftp.sensors.ftp¶
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. |
Module Contents¶
- 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.
- template_fields: collections.abc.Sequence[str] = ('path',)[source]¶
Errors that are transient in nature, and where action can be retried