A Simple FTP Client
Requirements: Python 2.7
###Installation Instructions: ####For Linux/Unix users:
- To clone the repo use
git clone https://github.com/sanketh95/PyFTP.git
- cd into the PyFTP directory
- run
sudo python config.py
- Run the program by using the command
pyftp
- If you change the directory to a different location you have to run
sudo python config.py
again
python main.py
List of available commands #####Note: *Commands are case sensitive
Displays the present working directory
- usage: cd
- Changes the current directory to
- usage: ls dirname:optional
- Gives a directory listing of the
dirname
. If no argument provided lists the current directory contents
- usage: help
- Gives the description of the commands
- usage: search [-R:optional] keyword
- Searches and gives a list of dir/file containing substring keyword in the pwd. -R does a recursive search
- Closes the connection to ftp server and exits the application