I\'m trying to upload a text file from a Linux device to my FTP server. Using the actual FTP program in Linux works fine but I want to be able to upload from a python script so