Provider package for Apache Airflow that enables FTP file transfer protocol operations including hooks, operators, and sensors for workflow integration.
84
Build a Python module that downloads a CSV file from an FTP server, processes it in-memory, and uploads the processed result back to the server without writing to disk.
Your module should provide a function that:
The function should accept:
@generates
def process_ftp_csv(
ftp_host: str,
ftp_user: str,
ftp_password: str,
source_path: str,
dest_path: str
) -> int:
"""
Download CSV from FTP, process in-memory, and upload result.
Args:
ftp_host: FTP server hostname
ftp_user: FTP username
ftp_password: FTP password
source_path: Remote path to source CSV file
dest_path: Remote path to destination CSV file
Returns:
Number of data rows processed (excluding header)
"""
passProvides FTP operations support for file transfer and server interaction.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/pypi-apache-airflow-providers-ftpevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10