This is a simple python ftp client for the command line interface(cli). It helps great when you are facing cpanel with no ssh otherwise you probabaly don't need it
Note: This script has not been tested on windows, tested on Ubuntu 16.04
import ftplib, os
import config # Config variables py file
make_connection()
Makes a connection with parameters: host, username, password
make_connection_uri()
Makes a connection from uri string: [host]:[username]@[password]
get_files(connection, dir)
Lists files in a directory
upload(connection, file)
Uploads a file to a directory
run()
Runs the ftp client
Not tested in windows, mac
Feel free to clone, open a pull request or drop an email to mxmandela@gmail.com