I\'m using FtpLib (Python) to download a folder with files from an ftp server. But I want to know the size of the folder before I start downloading it.
In the docume
def get_size(directory): size = 0 for file in FTP.nlst(directory): size += FTP.size(file) return size