Results 1 to 4 of 4
  1. #1

    Wget with authentication

    Hey guys,

    Try to download a file using wget.

    Trying to use the command

    wget http://email@domain.com:password@www.domain.com/

    How I escape the @ in the username portion? I keep receiving bad port number when trying to run the wget command as is.

    Cheers

  2. #2

  3. #3
    Join Date
    Jun 2003
    Posts
    976
    "wget --help" says
    HTTP options:
    --http-user=USER set http user to USER.
    --http-passwd=PASS set http password to PASS.
    you should escape @ with \

  4. #4
    Cheers sehe and CartHost

    Using those options now. I tried escaping @ with \ but I still had the same problem. My file is downloading now.

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •