mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
Automatic deletion? #268
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JustAnotherArchivist on GitHub.
The web frontend includes a hardcoded message that "files [are] stored for 14 days", implying an automatic deletion 2 weeks after the upload. But is that actually the case? I know that https://transfer.sh/ did (when you were still running it) and still does delete files after a while, but I was unable to find any code for this. Did I just miss it, or is/was that something external like a cronjob running
findwith-mminand-delete? If it is the former, how could the deletion be adjusted to keep files for a longer time?@paolafrancesca commented on GitHub:
@JustAnotherArchivist for current codebase there's a
X-Url-Deletedelete header with an URL you can send aDELETErequest to to delete the file@paolafrancesca commented on GitHub:
@JustAnotherArchivist there's no code related to it. I never managed https://transfer.sh so I don't know what was the case here and what's going on now. I will remove the message in the codebase of the frontend