Send files or folders over local network using TCP protocol, supports Windows and Linux operating systems.
- Send multiple paths at once
- Send file or folder paths
- Send relative and absolute paths
- Wildcard patterns (e.g., *.txt)
- Path containing spaces
- Path containing Chinese characters
- Files larger than 4GB
- Windows and Linux operating system (not tested on macOS)
- Older versions of Windows, such as Win XP and Win7
- 32-bit and 64-bit operating system
- Sending progress bar
- Sending success summary
- Automatic renaming of duplicate files
Using std::filesystem can significantly simplify iterating files in directories, so it needs to be compiled with a C++17 supporting compiler:
g++ -std=c++17 localsend.cpp -lws2_32 -o localsend.exe- Start server (receive files):
localsend.exe- Start client (send files):
localsend.exe IP PATH1 PATH2 ...The files will be received in the path where the server started, with no subdir.
Duplicate files will auto added serial number before file extension, such as "name_2.txt".