#file #p2p #tcp #ip-address #networking #nat-traversal #public-ip

file-transfer-system

File transfering, networking, and support for p2p

4 releases

new 0.2.3 Nov 2, 2024
0.2.2 Oct 25, 2024
0.1.4 Oct 25, 2024

#2018 in Network programming

Download history 382/week @ 2024-10-07 244/week @ 2024-10-14 435/week @ 2024-10-21

1,061 downloads per month

MIT license

51KB
479 lines

File transfer system (FTS)

alt text A file transfer system library that provides functionality to send files of any size through TCP

Provides functionality for:

  • File transfering and folder recursive transfering
  • NAT traversal for p2p connection and IPV6
  • Functionality to get current device private and public IP address
  • Uses multithreaded tokio runtime to asynchronously send files and process file requests

Contribution

Anyone that wants to contribute is more than welcomed. Also, feel free to leave an issue if you want some feature or encounter an error or if you want to give feedback so I know what needs more work, it is really appreciated. FTS repo

Check Fileflow which is a tauri app for sending files that implements this library. Fileflow.

Project architecture

This project is in a stage where it is still defining its structure so it might be subject of major changes

./ src--------- // core library, where most of the code for the lives
  |-lib  
    -    client
    -    file_transfer
    -    graceful_shutdown
    -    network
    -    p2p
    -    server

License

This project is licensed under the MIT License - see the LICENSE file for details.

Dependencies

~7–19MB
~264K SLoC