Amazon S3 to FTP Transfer Operator¶
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
Amazon S3 To FTP¶
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,
)