Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 647 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 647 Bytes

File Share

A simple file sharing client/server application over TCP for COMP 3203 Computer Networks, Carleton University.

Build

make

Usage

Once a server has been started, clients may connect to it to send and receive files one at a time.

Server

$ ./bin/server

Client

$ ./bin/client <hostname>  # Eg. ./bin/client localhost
file-share(hostname): <enter command  and hit enter>

Currently supported commands

  • ls
    • list all items in the current directory of the server
  • get
    • create a local copy of the remote file
  • put
    • create a remote copy of the local file