ftplib.FTP.size

FTP.size(filename)[source]

Retrieve the size of a file.