42 lines
942 B
Markdown
42 lines
942 B
Markdown
# tsclientlib Filetransfer Spike
|
|
|
|
Chanora proof-of-concept. **Not product code.**
|
|
|
|
## Purpose
|
|
|
|
Prove that a normal TeamSpeak client session can download a file from the
|
|
TeamSpeak fileserver by:
|
|
|
|
1. discovering a candidate file path, and
|
|
2. completing the `ftinitdownload` + second TCP connection flow.
|
|
|
|
## What it does
|
|
|
|
1. Connects to `kr.teamspeak.app`.
|
|
2. Attempts `ftgetfilelist` on visible channels.
|
|
3. Falls back to server icon or client avatar paths if channel-file listing is
|
|
unavailable.
|
|
4. Uses `Connection::download_file` to perform the actual fileserver download.
|
|
5. Saves the file under `downloads/`.
|
|
|
|
## Run
|
|
|
|
```bash
|
|
cargo run --offline -- \
|
|
--address kr.teamspeak.app \
|
|
--nickname ChanoraPoC-Downloader
|
|
```
|
|
|
|
Optional explicit target:
|
|
|
|
```bash
|
|
cargo run --offline -- \
|
|
--address kr.teamspeak.app \
|
|
--channel-id 0 \
|
|
--path /avatar_ebmjofhfgojajpappiikgponphiippbficbmfemf
|
|
```
|
|
|
|
## Verification
|
|
|
|
See `VERIFICATION.md`.
|