How to get file from remote sftp server to s3

0

I am looking for a way to get file from SFTP server which is hosted outside AWS, the source will not make any changes at their end so i can't use datasync or s3 cli, what other option i have to get the data from remote SFTP server.

  • Do you need to do this one time, or is this a recurring process?

GB
已提問 2 個月前檢視次數 768 次
2 個答案
2

You can do this programmatically, for either one-off or repeated approach. I just published a selection on resources about uploading large files to s3: https://repost.aws/selections/KPZHjZ7hWnRs2APnSxxrHN3w/upload-large-files-to-s3

profile picture
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前
0

Use SFTP connector feature from AWS Transfer Family to pull files from a remote SFTP server. Steps. Integrate this with eventbridge scheduler to make it recurring.

Steps:

  1. Create a SFTP connector to the remote host
  2. Create a lambda which calls the above connector, specify the source (remote server file location) and target (s3 path to store).

Reference: https://docs.aws.amazon.com/transfer/latest/userguide/creating-connectors.html

AWS
已回答 24 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南