Skip to content

pisgahi/snd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snd: Secure File Transfer

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.

Features

  • 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.

Installation

To get started with the Snd application, follow these steps:

  1. Clone this repo
git clone https://github.com/yourusername/snd.git
  1. Cd into the repo
cd snd
  1. Manage Dependecies
go mod tidy
  1. 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
  1. Build Snd
go build -o snd

Running the Server

./snd -s

The server will listen for incoming file transfer requests, on the configured port.

Sending a File

./snd -f="your_filepath" -to="127.0.0.1:4040"

Receiving a File

The server will automatically receive the file sent by the client and store it in the specified directory.

How It Works

  • Server: Listens for incoming TCP connections and handles file reception.
  • Client: Connects to the server and sends files over the established TCP connection.

About

Snd: Secure File Transfer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages