DynamodDB synchronize to FTP


#1

Hello,

I know it’s not part of jovo but I thought maybe someone could help me.

I would like to synchronize file names from an FTP to a DynamoDB.

Can someone help me?


#2

instead using an FTP why do not you use S3?

In this case if you upload files to an S3 bucket you could fire a Lambda and write what you want in your DynamoDB.

Should be much easier.

Best Regards

Nic


#3

Yes but it’s an external FTP.

In S3 you can take data of an external FTP every time ?


#4

No s3 cannot directly but you could then write a little nodejs lambda that connects to your ftp. Read the files and write them on dynamo


#5

Ah yes ok thank you !


#6

No problems,
I have used this in the past to connect to ftps:

and it works well in a lambda.

let me know if you need more help with this


#7

Ok I will see that :slight_smile:


#8

it’s good I can download but i don’t find how take only the name and recover only some


#9

Maybe for you thisone is better


#10

Yes good :slight_smile:


#11

Does it solve your problem?


#12

Yes I’m doing the script for the moment everything is fine !