Files
2026-02-22 22:34:01 +01:00

34 lines
1.1 KiB
Markdown

# DirectoryScanService
This repository contains two submodule projects that work together to transfer files over a simple TCP-based protocol.
## Clone With Submodules
Use `--recurse-submodules` when cloning so both projects are checked out automatically:
```bash
git clone --recurse-submodules https://git.timoniemann.de/t/DirectoryScanService.git
```
If you already cloned the repository without submodules:
```bash
git submodule update --init --recursive
```
## Projects
- [`DirectoryScanSender`](./DirectoryScanSender)
Scans a directory recursively and sends eligible files to a TCP server.
README: [`DirectoryScanSender/README.md`](./DirectoryScanSender/README.md)
- [`DirectoryScanReceiver`](./DirectoryScanReceiver)
Runs a TCP server that receives file data and writes it into an output directory.
README: [`DirectoryScanReceiver/README.md`](./DirectoryScanReceiver/README.md)
## How They Fit Together
- `DirectoryScanSender` is the client that sends files.
- `DirectoryScanReceiver` is the server that accepts and stores them.
- Both use the same simple delimiter-based message format and default TCP port (`7156`).