https://github.com/jeremywildsmith/filetransfer
Network Programming Class for BTech, implementing a TCP filetransfer client & server
https://github.com/jeremywildsmith/filetransfer
Last synced: 2 months ago
JSON representation
Network Programming Class for BTech, implementing a TCP filetransfer client & server
- Host: GitHub
- URL: https://github.com/jeremywildsmith/filetransfer
- Owner: JeremyWildsmith
- License: mit
- Created: 2022-10-01T04:41:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-14T03:49:01.000Z (over 2 years ago)
- Last Synced: 2025-01-22T21:14:45.803Z (4 months ago)
- Language: C
- Size: 108 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# TCP File Transfer Application
A TCP Client and Server implementation where the client is able to upload files to the remote server.
## Compiling
With build-essentials installed, the makefile can be invoked to produce a build using the following commands:
```
make all
```This will produce the server and client in the `bin/server/server` and `bin/client/client` directories respectively.
## Usage
1. Host a server, this is the endpoint which will recieve files in an upload operation.
`server -p -d `
2. Initial a file transfer from a client instance
`client -p -s ... `
## Running Test Cases
Application is tested with various black-box tests imlemetned via BATS. You can run the tests with the following command:`make test`
**NOTE: You must have BATS installed on your machine. Refer to BATS directory for installation instructions**
https://github.com/bats-core/bats-core
**Must have BATS 1.2. or later available on machine via command `bats`**
## Demo
Below screen-shot shows the client and server instances interacting.

## License
All code is MIT Licensed.