Compare commits
2 Commits
865529c402
...
68424363a1
Author | SHA1 | Date | |
---|---|---|---|
68424363a1 | |||
25330ab6c8 |
@ -1,6 +1,8 @@
|
|||||||
# MyFTP
|
# MyFTP
|
||||||
|
|
||||||
A Python implementation of a FTP server. Supports both TCP and UDP protocols. Tested on Python 3.11 and Python 3.10.
|
A Python implementation of a FTP client - 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
|
||||||
|
|
||||||
@ -10,6 +12,8 @@ Zero. Only python standard libs were used.
|
|||||||
|
|
||||||
### 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>`.
|
||||||
@ -53,6 +57,7 @@ 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.
|
||||||
|
BIN
project_coen366.pdf
Normal file
BIN
project_coen366.pdf
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user