Compare commits
No commits in common. "68424363a1d0e80b4a138c27c06efb6f2f9bd4f8" and "865529c402afe77e5d42d70392e68e21a4d9b498" have entirely different histories.
68424363a1
...
865529c402
@ -1,19 +1,15 @@
|
|||||||
# MyFTP
|
# MyFTP
|
||||||
|
|
||||||
A Python implementation of a FTP client - server. Supports both TCP and UDP protocols. Tested on Python 3.11 and Python 3.10.
|
A Python implementation of a FTP server. Supports both TCP and UDP protocols. Tested on Python 3.11 and Python 3.10.
|
||||||
|
|
||||||
All specfications regarding opcodes, return codes and payload are included in the pdf at the root of the repo `./project_coen366.pdf`
|
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
Zero. Only python standard libs were used.
|
Zero. Only python standard libs were used.
|
||||||
|
|
||||||
## Running
|
## Running
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
|
|
||||||
Always start the FTP server before starting the FTP client.
|
|
||||||
|
|
||||||
You can run `python3 src/myftp/client.py --directory <insert valid directory that you have read/write permissions>` to start the client.
|
You can run `python3 src/myftp/client.py --directory <insert valid directory that you have read/write permissions>` to start the client.
|
||||||
|
|
||||||
To run with debug info: `python3 src/myftp/client.py --debug 1 --directory <insert valid directory that you have read/write permissions>`.
|
To run with debug info: `python3 src/myftp/client.py --debug 1 --directory <insert valid directory that you have read/write permissions>`.
|
||||||
@ -57,7 +53,6 @@ Run `python3 src/myftp/server.py --debug 1 --directory server_directory`
|
|||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
- `git clone https://github.com/minhtrannhat/MyFTP.git project`
|
|
||||||
- Make you are at the root of this repo.
|
- Make you are at the root of this repo.
|
||||||
- Build the system with `make build`.
|
- Build the system with `make build`.
|
||||||
- Wait 10 seconds.
|
- Wait 10 seconds.
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user