Implement output file naming #100

Closed
opened 2026-07-13 16:58:30 +00:00 by fuzzy · 1 comment
Owner
## Sub-tasks - [ ] [If `-o` is not provided, derive filename from URL path or `Content-Disposition`](https://git.lan.thwap.org/thwap/pget/issues/98) - [ ] [Handle duplicate filenames by appending `-1`, `-2`, etc. (or overwrite with `-f`)](https://git.lan.thwap.org/thwap/pget/issues/99)
fuzzy self-assigned this 2026-07-13 16:58:30 +00:00
Owner

Closing — implemented in PR #157. Content-Disposition filename parsed via mime.ParseMediaType, used before URL basename. Duplicate filenames get -1, -2 suffix via uniquePath() when no -o given (resume mode skips this).

Closing — implemented in PR #[157](https://git.lan.thwap.org/thwap/pget/pulls/157). Content-Disposition filename parsed via mime.ParseMediaType, used before URL basename. Duplicate filenames get -1, -2 suffix via uniquePath() when no -o given (resume mode skips this).
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/pget#100
No description provided.