Snd is a file transfer program built using Golang, leveraging TCP for reliable and efficient data transmission. This application allows users to send and receive files securely over a network.
- Fast and reliable file transfer over TCP.
- Secure file transmission
- Simple command-line interface for ease of use.
- Lightweight and efficient, suitable for various use cases.
To get started with the Snd application, follow these steps:
- Clone this repo
git clone https://github.com/yourusername/snd.git- Cd into the repo
cd snd- Manage Dependecies
go mod tidy- Configure Snd
./snd -cert="cert/certs" -addr="127.0.0.1:4040" -dir="User/username/Desktop"Before you can start using Snd you need to setup some config variables.
- -cert: the directory you would like to save your TLS certificates and keys
- -addr: the address your server starts on
- -dir the directory to store received files
- Build Snd
go build -o sndRunning the Server
./snd -sThe server will listen for incoming file transfer requests, on the configured port.
./snd -f="your_filepath" -to="127.0.0.1:4040"The server will automatically receive the file sent by the client and store it in the specified directory.
- Server: Listens for incoming TCP connections and handles file reception.
- Client: Connects to the server and sends files over the established TCP connection.