pyhton 3.7.3, ftp upload, win10 tested.
drag a file over this python script, it will be upload to ftp server/folder. command-line and batch file fixed, preset argument as user input file name.
login to ftp, list a folder & file names, then wait for user input ftp command, you may try command "upload" a file exists in same folder with this script together.
both files are the same ASCII text file, different extesnion names for testing easy.