aws_lambda_ftp_function icon indicating copy to clipboard operation
aws_lambda_ftp_function copied to clipboard

'files' is not defined

Open prabhukhanna opened this issue 8 years ago • 3 comments

I am very new to python and I am trying to download an file from FTP and upload it to s3 bucket via a lambda function. I found your code useful, but when I run the script I get the below error. Though I can connect to the FTP server.

screenshot from 2017-08-31 18-47-23

prabhukhanna avatar Aug 31 '17 13:08 prabhukhanna

did you run it inside AWS lambda or locally?

orasik avatar Aug 31 '17 13:08 orasik

Both AWS lambda and locally.

prabhukhanna avatar Aug 31 '17 14:08 prabhukhanna

I will check this today and get back to you

orasik avatar Sep 04 '17 11:09 orasik