Coleman's FTP - a computer networks class exercise
This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
Go to file
andrew 63d6decaad Use C-fu rather than silly conditionals and make some assumptions that make sending a file easier. 2009-02-18 02:40:41 -06:00
README Use C-fu rather than silly conditionals and make some assumptions that make sending a file easier. 2009-02-18 02:40:41 -06:00
cftp.c making send_file available to both client and server 2009-02-18 02:30:53 -06:00
cftp.h making send_file available to both client and server 2009-02-18 02:30:53 -06:00
client.c use shared send_message 2009-02-18 02:31:29 -06:00
client.h First commit. Client and server exchange messages, one per connection. There is a restricted list of commands that can be sent; both client and server obey. No filesystem access, yet. That is the only thing missing. 2009-02-16 01:56:15 -06:00
filesystem.c Use C-fu rather than silly conditionals and make some assumptions that make sending a file easier. 2009-02-18 02:40:41 -06:00
filesystem.h Use C-fu rather than silly conditionals and make some assumptions that make sending a file easier. 2009-02-18 02:40:41 -06:00
server.c lowercase all command responses 2009-02-18 02:32:33 -06:00
server.h First commit. Client and server exchange messages, one per connection. There is a restricted list of commands that can be sent; both client and server obey. No filesystem access, yet. That is the only thing missing. 2009-02-16 01:56:15 -06:00

README

CFTP - a simple in-band file transfer application protocol experiment
Andrew Coleman
CSC-4200

To compile:
  gcc -o cftp -Wall server.c client.c filesystem.c cftp.c

For explanation on running:
  ./cftp -h

There is only one binary, with a switch for the server. All other options are
common and will work for either server or client.

Multi-client capable. Not necessarily single user.