tus / tusd

Reference server implementation in Go of tus: the open protocol for resumable file uploads
https://tus.github.io/tusd
MIT License
2.93k stars 465 forks source link

filestore: Allow customising the storage path #1083

Closed Acconut closed 2 weeks ago

Acconut commented 4 months ago

In the pre-create hook, users can set the ChangeFileInfo.Storage.Path property to a custom, per-upload destination path where the uploaded file will be saved. This file is independent from the upload ID and can be located even outside the upload directory.