*for Project of Computer Networking
implementation of file transfer protocol using socket
implemented in python, using multiprocessing to handle multi-user connection
- clone this project
- make sure you have python 3 installed
- run the server by typing
python server.py
(by default server will use localhost, port 12009 for data transfer) - In a different terminal session, run the client by typing
python client.py
- start to give command to the server (see some commands below)
- LS
- DIR
- QUIT
- BYE
- EXIT
- PWD
- CD
- LCD
- PROM
- HASH
- MKDIR
- MDELETE
- DELETE
- RENAME
- RMDIR
- GET
- PUT
- MGET
- MPUT
- PWD, get current remote directory
- CDUP, change to parent remote directory
- CWD , change current remote directory
- MKD <dir_name>, make a directory in remote server
- RMD <dir_name>, remove a directory in remote server
- DELE <file_name>, delete a file in remote server
- other commands... see list of FTP commands