Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

maxwellmandela/pyftp

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyftp

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

How to

import ftplib, os
import config # Config variables py file

make connection

make_connection()

Makes a connection with parameters: host, username, password

make connection_uri

make_connection_uri()

Makes a connection from uri string: [host]:[username]@[password]

get files(connection, dir)

get_files(connection, dir)

Lists files in a directory

upload

upload(connection, file)

Uploads a file to a directory

run()

run()

Runs the ftp client

Issues

Not tested in windows, mac

Contribution

Feel free to clone, open a pull request or drop an email to mxmandela@gmail.com

About

The simplest python ftp client ever

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.