#pyftp
PyFTP is a simple ftp client written on top of ftplib. In short, I got frustrated with ftp and its lack of recursive operations.
mkdir directory
creates a new directory.rmdir directory
removes directory.cd directory
changes current working directory todirectory
.rm file
removes file. Add -r flag to recursively remove everything inside directory. Examplerm -r directory
removes everything indirectory
.ls directory
lists all files in directory. NOTE: If directory is not specified, current directory is listed.put local remote
copies local file to remote.get remote local
copies remote file to local.- local mode - Allows execution of commands on local machine inside pyftp. To execute command on local machine enter single space followed by command you want to execute. Example:
ls -a
lists all files in working directory on local machine.
- auto completion
- command history
- multiple transfer types (currently only binary is used)
rm
- wildcard (and maybe some other matching). Example:
rm images/*
removes all files inimages
directory.
- wildcard (and maybe some other matching). Example:
put
- recursive operations (
-r
flag) allowing copying of directories. Example:put -r local_folder remote
.
- recursive operations (
get
- recursive download (same as
put -r
)
- recursive download (same as