I use ftplib, but can not upload files to the server. Two methods do not to work
import ftplib ftp = ftplib.FTP() ftp.set_debuglevel(2) ftp.encoding = \'utf-