SyntaxFix
Write A Post
Hire A Developer
Questions
If you are not limited to using ftplib you can also give wget module a try. Here, is the snippet
ftplib
wget
import wget file_loc = 'http://www.website.com/foo.zip' wget.download(file_loc)