Amazon S3 to FTP¶
Use the S3ToFTPOperator
transfer to copy data from an Amazon Simple Storage Service (S3) file into a remote file
using FTP protocol.
Prerequisite Tasks¶
To use these operators, you must do a few things:
Create necessary resources using AWS Console or AWS CLI.
Install API libraries via pip.
pip install 'apache-airflow[amazon]'Detailed information is available Installation of Airflow™
Operators¶
Amazon S3 To FTP transfer operator¶
This operator copies data from Amazon S3 to a FTP server.
To get more information about this operator visit:
S3ToFTPOperator
Example usage:
s3_to_ftp_task = S3ToFTPOperator(
task_id="ftp_to_s3_task",
ftp_path="/tmp/ftp_path",
s3_bucket=s3_bucket,
s3_key=s3_key,
)