Results 1 to 4 of 4
Thread: Wget with authentication
-
12-13-2005, 06:29 PM #1Newbie
- Join Date
- Jul 2002
- Posts
- 18
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
-
12-13-2005, 06:33 PM #2Banned
- Join Date
- Nov 2005
- Posts
- 137
http://login:pass@yourdomain
use " "'s
-
12-13-2005, 06:33 PM #3Web Hosting Master
- 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.
-
12-13-2005, 06:35 PM #4Newbie
- Join Date
- Jul 2002
- Posts
- 18
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