Transfer text files - provides sending text files from one device to another using LAN, which is useful when you want to quickly and clearly share your file locally. Just run a server on one device and the client on the other...
execute the shell script in your terminal for compiling. then use binary files by ./server
and ./client
bash script.sh
or you can use g++
- compile a server
g++ src/server.cpp src/ttf_net.cpp src/ttf_server.cpp -o server
- compile a client
g++ src/client.cpp src/ttf_net.cpp src/ttf_client.cpp -o client
❗ NB: all files put in "files/client_files/" and "files/server_files/" folders or check out configuration to declarate your path. for sending a file, just type the filename and file extension (
file.txt
)
set in your ./bashrc
or ./zshrc
a path to files. $TTF_client
for folder with files to send and $TTF_server
for path to recieving files on another computer.
export TTF_client="path/to/your/folder" #send files
export TTF_server="path/to/your/folder" #recieve files
example.gif - example of getting started
- script for bash
- web client?
- tg-bot / discord bot