FTP server and FTP client. The client shall connect to the server and support uploading and downloading of files to/from server.
- Python 3.6
-
upload (
<filename>
) client and server- Returns
ok
for success - Returns
<error message>
for failure (such as file doesn't exist)
- Returns
-
download (
<filename>
) client and server- Returns
ok
for success - Returns
<error message>
for failure
- Returns
-
ls server only
- Returns string for success
- Returns False for failure
- List of files in the current directory
-
main
- user inputs
- main communication
- Server Port: 2222
- File Transfer Port: 3333
ls
upload <File Name>
download <File Name>
- Ports: 1111
- File Transfer Port: 3333
(ls) <list of directories>
ok (message received with no error)
err <message>
- Ports: 2222
- File Transfer Port: 3333
- Amin Soltani
- Elias Perez
- Fernando
- Karla