Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-19-2006, 05:14 PM   #1
Registered: Jun 2003
Location: Royal City
Distribution: Cent os latest version
Posts: 218

Rep: Reputation: 32
Wget with username and password?

hello i need to download some files over http protocol which require username and password but i dont know how to properly write wget command.Can anyone show me example?
Old 12-19-2006, 05:22 PM   #2
Registered: Nov 2006
Posts: 54

Rep: Reputation: 15
Have you tried this?


I know that works with FTP
Old 12-19-2006, 11:52 PM   #3
Registered: May 2006
Location: Gz,China
Distribution: RH,FB
Posts: 198
Blog Entries: 1

Rep: Reputation: 32
Its better to have a man wget first.
Old 12-20-2006, 05:32 AM   #4
LQ Newbie
Registered: Feb 2006
Distribution: OpenSuse, Ubuntu, Debian, Fedora
Posts: 26

Rep: Reputation: 16
From man wget:
You can use --http-user and --http-passwd to specify the username /passwd.
You can also add these to $HOME/.wgetrc file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What username and password to use for . . . royeo Linux - Newbie 1 09-27-2006 11:37 PM
Wget and a username containing a '\' menator Linux - General 2 04-11-2006 08:25 AM
username and password no go bmd Linux - Newbie 7 04-06-2005 08:26 PM
username/password sailu_mvn Programming 5 12-21-2004 03:21 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 04:45 AM

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration