No documentation for creating direct download links for files #311

Closed
opened 2026-01-19 18:29:50 +00:00 by michael · 0 comments
Owner

Originally created by @limitedeternity on GitHub.

But still in /server/server.go following lines exist:

r.HandleFunc("/get/{token}/{filename}", getHandlerFn).Methods("GET")
r.HandleFunc("/download/{token}/{filename}", getHandlerFn).Methods("GET")

Which send file without showing a preview page.

Originally created by @limitedeternity on GitHub. But still in `/server/server.go` following lines exist: ```go r.HandleFunc("/get/{token}/{filename}", getHandlerFn).Methods("GET") r.HandleFunc("/download/{token}/{filename}", getHandlerFn).Methods("GET") ``` Which send file without showing a preview page.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#311