Amazon S3 到 FTP

使用 S3ToFTPOperator 传输操作符,将数据从 Amazon Simple Storage Service (S3) 文件复制到远程文件(使用 FTP 协议)。

先决任务

要使用这些操作符,您需要做几件事

操作符

Amazon S3 到 FTP 传输操作符

此操作符将数据从 Amazon S3 复制到 FTP 服务器。

有关此操作符的更多信息,请访问:S3ToFTPOperator

示例用法

tests/system/amazon/aws/example_s3_to_ftp.py

s3_to_ftp_task = S3ToFTPOperator(
    task_id="ftp_to_s3_task",
    ftp_path="/tmp/ftp_path",
    s3_bucket=s3_bucket,
    s3_key=s3_key,
)

参考

此条目是否有帮助?