how to copy file from aws sftp server to s3 bucket using aws lambda

502 views Asked by At

I am trying to copy a file from an sftp server I created on the "aws transfer family" using the aws lambda function (java) and save that file to s3 storage. How can i do this? I would be grateful if anyone could provide some lambda code

1

There are 1 answers

0
Mark Sailes On

AWS Transfer family already has functionality for SFTP to be backed by S3. So there is no need to create an additional Lambda function.