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 tool that connects to an FTP server and retrieves detailed metadata about files and directories in a specified remote path. The tool should extract structured information about each item including its type, size, and timestamps.
Create a Python module that implements a function to retrieve structured directory listings from an FTP server. The function should:
@generates
def get_directory_metadata(ftp_conn_id: str, remote_path: str) -> dict:
"""
Retrieve structured metadata for all items in a remote FTP directory.
Args:
ftp_conn_id: The Airflow connection ID for the FTP server
remote_path: The path to the remote directory
Returns:
Dictionary mapping item names to their metadata attributes
"""
passProvides FTP operations support for Apache Airflow including connection management and file transfer capabilities.