GithubHelp home page GithubHelp logo

Do not open in browser about goploader HOT 10 CLOSED

rka avatar rka commented on May 28, 2024
Do not open in browser

from goploader.

Comments (10)

Depado avatar Depado commented on May 28, 2024 1

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.

Depado avatar Depado commented on May 28, 2024

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.

rka avatar rka commented on May 28, 2024

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.

Depado avatar Depado commented on May 28, 2024

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.

rka avatar rka commented on May 28, 2024

That would be awesome!! :) Thanks

from goploader.

Depado avatar Depado commented on May 28, 2024

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.

rka avatar rka commented on May 28, 2024

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.

Depado avatar Depado commented on May 28, 2024

Amazing how you tweaked it ! Love it :)
I'm adding the option soon.

from goploader.

rka avatar rka commented on May 28, 2024

thanks i updated your changes and its working gr8 :)

from goploader.

Depado avatar Depado commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.