aws_lambda_ftp_function
aws_lambda_ftp_function copied to clipboard
'files' is not defined
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.

did you run it inside AWS lambda or locally?
Both AWS lambda and locally.
I will check this today and get back to you