Sending file from S3 to third party FTP server usi

2019-03-30 08:18发布

I have some files that are stored on S3. On users request, I want to transfer them to FTP server of a third party site. Amazon S3 does not support FTP/SFTP.

Currently I am downloading the file from S3 to my local server using S3 APIs and then transferring it to third party FTP server.

S3 --API--> Local --FTP--> Third party FTP

Now, instead I want to transfer the files directly to third party FTP server directly from S3 without downloading it to my local server.

S3 ---CloudFront or Other Service---> Third Party FTP

How can I do it using cloudfront or any other services? Any Help will be appreciated.

Thanks in advance.

1条回答
倾城 Initia
2楼-- · 2019-03-30 09:13

S3 only has APIs to get data to it and from it. It also has an API function to copy data between two buckets, but that's about it.

If you require to transfer data from S3 to other places and want to save the download from S3 to your local machine I suggest you start a t1.micro instance and put a script on it to download the files to it (you won't pay the bandwidth because between S3 and EC2 instance on the same region you don't pay anything and its significantly faster) and then upload from that instance to the remote 3rd party FTP site.

查看更多
登录 后发表回答