This will not download the contents of sub-directories; how can I do so?
import ftplib import configparser import os directories = [] def add_directory(lin
this is an alternative. you can try using ftputil package. You can then use it to walk the remote directories and get your files