SFTPTrigger
Astronomer ProvidersTrigger that fires when either the path on the SFTP server does not exist, or when there are no files matching the file pattern at the path
Access Instructions
Install the Astronomer Providers provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
pathThe path on the SFTP server to search for a file matching the file pattern. Authentication method used in the SFTP connection must have access to this path
file_patternPattern to be used for matching against the list of files at the path above. Uses the fnmatch module from std library to perform the matching.
sftp_conn_idSFTP connection ID to be used for connecting to SFTP server
poke_intervalHow often, in seconds, to check for the existence of the file on the SFTP server
Documentation
Trigger that fires when either the path on the SFTP server does not exist, or when there are no files matching the file pattern at the path