Code Monkey home page Code Monkey logo

Comments (8)

Osiris-Team avatar Osiris-Team commented on September 27, 2024 1

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work.
Thanks, will add it to the site once I got time to work on autoplug again ;)

from autoplug-client.

Minionguyjpro avatar Minionguyjpro commented on September 27, 2024 1

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work. Thanks, will add it to the site once I got time to work on autoplug again ;)

Probably the first link redirects to the second one and curl isn't set up to follow the redirects, while a browser does?

from autoplug-client.

Minionguyjpro avatar Minionguyjpro commented on September 27, 2024 1

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work. Thanks, will add it to the site once I got time to work on autoplug again ;)

Probably the first link redirects to the second one and curl isn't set up to follow the redirects, while a browser does?

Yeah this is the case. I also ran into the same 0 byte issue with curl with the first link, but if I'd run it with the -L parameter then it works and downloads the file correctly. That first link just redirects to the second one, thus if you'd use curl without it making sure to follow redirects then the generated file will be zero bytes. So that it doesn't work is just due to redirects...

from autoplug-client.

Osiris-Team avatar Osiris-Team commented on September 27, 2024 1

fixed, will update web in a bit

from autoplug-client.

harryeffinpotter avatar harryeffinpotter commented on September 27, 2024 1

curl -Lo AutoPlug-Client.jar https://github.com/Osiris-Team/AutoPlug-Releases/raw/master/beta-builds/AutoPlug-Client.jar

indeed it does fix, good call.

from autoplug-client.

harryeffinpotter avatar harryeffinpotter commented on September 27, 2024

@harryeffinpotter Great, yeah, weirdly enough, in the browser both links work. Thanks, will add it to the site once I got time to work on autoplug again ;)

Probably the first link redirects to the second one and curl isn't set up to follow the redirects, while a browser does?

Yeah this is the case. I also ran into the same 0 byte issue with curl with the first link, but if I'd run it with the -L parameter then it works and downloads the file correctly. That first link just redirects to the second one, thus if you'd use curl without it making sure to follow redirects then the generated file will be zero bytes. So that it doesn't work is just due to redirects...

AHH I always forget the dang argument to follow redirects. My man.

from autoplug-client.

harryeffinpotter avatar harryeffinpotter commented on September 27, 2024

So

curl -Lo AutoPlug-Client.jar https://github.com/Osiris-Team/AutoPlug-Releases/raw/master/beta-builds/AutoPlug-Client.jar

would work, yeah?

from autoplug-client.

harryeffinpotter avatar harryeffinpotter commented on September 27, 2024

oope, he said he fixed it, was just curious for my own sake.

from autoplug-client.

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.