human
FTP upload files Python
assistant
Here is some code to upload file using FTP

ftp.storlines('STOR ' + filename, open(filename, 'r'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.