Comments (10)
Hi,
There is now an option you can add in your conf.yml
file which is always_download
. This option when set to true
will set the Content-Type
header to application/octet-stream
which will force browsers to offer to download the file and not display them. Download page is up to date.
The documentation has been updated, see https://up.depado.eu/#server-setup-conf (Also added some examples on how to use with Caddy, Apache, Systemd)
from goploader.
Hi,
First of all, thanks for your support.
I think it's more about the way your browser handle files. Files it doesn't know how to open it will offer to download. Is it really an issue ? You could always right click on the page and click the “Save the page as...” or directly wget
the link. I could work something out though if that's really an issue.
Cheers :)
from goploader.
Thanks for the quick reply.
Yes if the link is sent or displayed in a browser like in a webpage you can left click and save as... but when someone gets the link in outlook you don't have that option. But its absolutely not a big deal just would be easier. So if its a big hurdle don't sweat it :)
from goploader.
Always serving a downloadable file is easy. But that would apply for images, videos and all the other formats too. Up to you. I'll add an option in the configuration file.
from goploader.
That would be awesome!! :) Thanks
from goploader.
Just out of curiosity, are you self-hosting the application ? Because even if I add an option, I don't intend to activate it on up.depado.eu :)
from goploader.
Yes i do self host it. You can check it out here http://feltoltes.erzsebetvaros.hu/ :)
Changed the language and color and added a banner, it was super easy to work with i love it.
from goploader.
Amazing how you tweaked it ! Love it :)
I'm adding the option soon.
from goploader.
thanks i updated your changes and its working gr8 :)
from goploader.
You're welcome, don't hesistate to post other issues if you see other improvements I could made ! Always happy to help :D
from goploader.
Related Issues (20)
- Protect upload with password HOT 5
- See uploaded files in the web client HOT 1
- Question: Using a database on another server HOT 1
- Caddyfile review HOT 2
- Uploaded text downloads as STDIN HOT 8
- DEMAIN BOXE HOT 4
- DEMAIN BOXE HOT 3
- language and lines option HOT 2
- Installation error - cannot use "github.com/boltdb/bolt".Options literal HOT 5
- How can i make it support the format of SWF? HOT 3
- Cannot compile latest version from master HOT 2
- token : how tu use it HOT 1
- Serve from several domains HOT 4
- Uploading from a URL HOT 1
- [Feature request] Allow unlimited duration HOT 3
- gpldr.in? HOT 6
- Official Docker image HOT 1
- Server Downloads is broken HOT 2
- Failing to build using docker golang container HOT 7
- runtime error: invalid memory address or nil pointer dereference HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goploader.