#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 directorycreates a new directory.rmdir directoryremoves directory.cd directorychanges current working directory todirectory.rm fileremoves file. Add -r flag to recursively remove everything inside directory. Examplerm -r directoryremoves everything indirectory.ls directorylists all files in directory. NOTE: If directory is not specified, current directory is listed.put local remotecopies local file to remote.get remote localcopies 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 -alists 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 inimagesdirectory.
- wildcard (and maybe some other matching). Example:
put- recursive operations (
-rflag) allowing copying of directories. Example:put -r local_folder remote.
- recursive operations (
get- recursive download (same as
put -r)
- recursive download (same as