psi-4ward / psitransfer

Simple open source self-hosted file sharing solution.
BSD 2-Clause "Simplified" License
1.45k stars 211 forks source link

generate a download link after upload #274

Closed AnhTuanNguyenn closed 11 months ago

AnhTuanNguyenn commented 1 year ago

hello, j suppose that when i upload a file i got a new link as https://mysite/upload/abc123 and i want it has format as https://mysite/download/abc123, could you tell me how can i do that or that's need to be add to new version ? thank

Maytrok commented 11 months ago

Hey Anh,

you can easily archieve this with using a bucket id. The only part thats missing will be the "upload/download" path in the url

You have to call the site like this:

https://mysite?sid=abc123

upload your files and there you go. your download link will be as you described

AnhTuanNguyenn commented 11 months ago

Thank @Maytrok, i was applied Write-On in htaccess :)