Wget

Discussion in 'Site & Server Administration' started by Dehisce, Nov 20, 2007.

  1. #1
    How do I use WGet to pull a url with a &?
    WGet pulls the url, but stops at the & sign.
     
    Dehisce, Nov 20, 2007 IP
  2. jexxie

    jexxie Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Did you try quoting the string? The 'problem' isn't wget, but your shell.
    /usr/bin/wget "http://www.foo.bar/lalala.php?awesome=true&keke=happy"
    Code (markup):
     
    jexxie, Nov 21, 2007 IP
  3. hostingonweb

    hostingonweb Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Are you using this from the SSH or from your hosts control panel?
     
    hostingonweb, Nov 21, 2007 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    if nothing else helps - try replacing
    &
    with
    &

    in your URLs
    i use wget often on server to directly download SW ( logged in via ssh ) and never had such problem
     
    hans, Nov 22, 2007 IP