Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Unix command to download a file from the web

Options
  • 14-10-2014 5:02pm
    #1
    Registered Users Posts: 5,557 ✭✭✭


    Ive been playing around with this for ages.

    On a Solaris machine, i want to get a file from www.somewebsite.com/fileXYz?version=1

    Is there a simple command for this?


Comments

  • Registered Users Posts: 157 ✭✭Craazysteve




  • Registered Users Posts: 291 ✭✭Seridisand


    You can use a wget command from the terminal


  • Registered Users Posts: 586 ✭✭✭Aswerty


    Sound like your looking for the "curl" command.

    See this

    Just seen above post. This might be of interest.


  • Registered Users Posts: 5,557 ✭✭✭veryangryman


    Thanks lads but curl and wget only work on Lunix.

    Solaris box im using


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    Solaris box im using

    S10:

    /usr/sfw/bin/wget


  • Advertisement
  • Registered Users Posts: 586 ✭✭✭Aswerty


    cUrl is a cross platform library, you can find a download for it on the website of the first link in my original post. I don't know if it comes prepackaged in Solaris.


  • Registered Users Posts: 4,766 ✭✭✭cython


    Graham wrote: »
    S10:

    /usr/sfw/bin/wget

    This. Solaris is unfortunately annoyingly insistent about littering what should be standard commands across various non-standard locations and off the path (ever try to get a full length ps output? It also requires you to use a less-than-standard ps location and syntax). gtar is another one, as tar behaves differently. I could go on, but that would be waaaaayyy off topic.


  • Closed Accounts Posts: 2,267 ✭✭✭h57xiucj2z946q


    As someone mentioned above, GNU utils are not in your common /usr/bin folder on Solaris.

    remember if you are behind proxy, to set your env var first
    bash: export http_proxy=http://www.proxy.org:8080
    c shell: set http_proxy http://www.proxy.org:8080 
    


Advertisement