Skip to content

aminsol/FTP_Server_Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FTP Server Client

FTP server and FTP client. The client shall connect to the server and support uploading and downloading of files to/from server.

Language

  • Python 3.6

Functions

  • upload ( <filename> ) client and server

    • Returns ok for success
    • Returns <error message> for failure (such as file doesn't exist)
  • download ( <filename> ) client and server

    • Returns ok for success
    • Returns <error message> for failure
  • ls server only

    • Returns string for success
    • Returns False for failure
    • List of files in the current directory
  • main

    • user inputs
    • main communication

Protocol Design

Ports

  • Server Port: 2222
  • File Transfer Port: 3333

Client

Commands:

ls
upload <File Name>
download <File Name>
  • Ports: 1111
  • File Transfer Port: 3333

Server

Responses:

(ls) <list of directories>
ok (message received with no error)
err <message>
  • Ports: 2222
  • File Transfer Port: 3333

Team

  • Amin Soltani
  • Elias Perez
  • Fernando
  • Karla

About

FTP server and FTP client. The client shall connect to the server and support uploading and downloading of files to/from server. Before

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages