tessl install tessl/pypi-apache-airflow-providers-ftp@3.13.0Provider package for Apache Airflow that enables FTP file transfer protocol operations including hooks, operators, and sensors for workflow integration.
Agent Success
Agent success rate when using this tile
84%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.06x
Baseline
Agent success rate without this tile
79%
Build a workflow task that monitors an FTP server for file availability and triggers subsequent processing only when files are present.
Your task is to implement a monitoring system that waits for specific files to appear on an FTP server before proceeding with downstream workflow tasks.
@generates
"""
FTP File Availability Monitor
Provides monitoring capabilities for FTP file/directory presence.
"""
def create_ftp_file_monitor(
ftp_conn_id: str,
path: str,
timeout: int = 3600,
poke_interval: int = 60
):
"""
Create a monitoring task that waits for a file or directory to exist on an FTP server.
Args:
ftp_conn_id: Connection ID for the FTP server
path: Remote path to monitor (supports template variables)
timeout: Maximum time to wait in seconds (default: 3600)
poke_interval: Time between checks in seconds (default: 60)
Returns:
A monitoring task object that can be used in a workflow
"""
pass
def create_secure_ftp_file_monitor(
ftp_conn_id: str,
path: str,
timeout: int = 3600,
poke_interval: int = 60
):
"""
Create a monitoring task for secure FTPS servers.
Args:
ftp_conn_id: Connection ID for the FTPS server
path: Remote path to monitor (supports template variables)
timeout: Maximum time to wait in seconds (default: 3600)
poke_interval: Time between checks in seconds (default: 60)
Returns:
A monitoring task object for secure FTP that can be used in a workflow
"""
passProvides FTP operations and monitoring capabilities for Apache Airflow workflows.
@satisfied-by