SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hey..i just downloaded wget1.8. it s installed alright.but i am not getting the logic in downloading files wit h its help.i mean..do i have to use it through the console itself?when i did the wget --help..its asking for the url to type beside wget..how do i do it?does it not have any gui?is it not visible on the desktop or on the so that i can simply right click on the download link (just as i used do with download manager when windows was on my system)..has any one got any idea?
No, wget doesn't have a gui (that I know of), it's used more for non-interactive downloads. So if you wanted to send a batch of queries to some online web-site and download the results, you would write a script that prepared your queries, sent them to the web page with wget and saved the results somewhere. All this without you having to be there, or even logged on.
There's tons more information under "man wget" and "locate wget | grep README".
gftp is a good package for more straightforward file retrieval.
wget is superb.you can even add all the urls of the files to be downloaded to a file say temp and just give 'wget -i temp' and it will download everything.it is extremely usefull if you are in a lan since it will continue downloading in the background even after you have logged out.(therefore it is in noway comparable to gftp).if you are not working in a lan,then download accelerators like prozilla or prozGUI will be more usefull.(see my sig).I dont know of any application that combines these two.(Why are they not coupling it??)
Last edited by arunshivanandan; 10-17-2003 at 01:30 PM.
also use -b option with wget to run it in background,-c to continue a partially downloaded file, --proxy=on/off to set proxy, ' --directory-prefix=<DIR_NAME> to specify the destination directory, --http-user=USE_NAME ,--http-passwd=password to specify the user name and password to which one should logon.for more refer man page.
Originally posted by arunshivanandan --http-user=USE_NAME ,--http-passwd=password
wget is great and I use it quite often, but I'd still prefer it to ask me the password if I just entered the username. This way I wouldn't have to put my passwd to the commandline, which is not very secure, imo. Interesting, I looked at the man page, but there was no mention of such a usage. Maybe I missed something, because it is insane to make passing the password as the argument the only way to send a passwd.
Originally posted by fye , I looked at the man page, but there was no mention of such a usage. Maybe I missed something, because it is insane to make passing the password as the argument the only way to send a passwd.
Quoting from wget manual page,
--http-user=user --http-passwd=password Specify the username user and password password on an HTTP server. According to the type of the challenge, Wget will encode them using either the `basic' (inse_ cure) or the `digest' authentication scheme. Another way to specify username and password is in the URL itself.
Is your manpage different from mine??(mine is wget 1.7)
wget is an exceptional command line tool mainly for ftp doing downloads. you can even write scripts using wget and add in crond for automatic downloads. It has the capability to resume the connection if it get disconnects.
-c will resume the connection (The ftp server should have the resume connection option enabled)
-nH will cut the remote parent directory and takes the rest.
for ex if you try downloading files form ftp://ftp.sitename/download the directory structure will be created on hte local machine also. -nH will not create the folder name "ftp.sitename" instead it uses the -P option which tells the prefix to be used.
-a will write the file transfer details in the given logfile.
*.[t,d][x,o][t,c] will download only 'txt' and 'doc' file if any.
if you are using the proxy server
add the proxy details of http_proxy and ftp_proxy in the 'wgetrc' file before you use the command.
Also refer the man page for more options.
if someone is going to work on wget,try applying the concept of download accelarator to wget.(like prozilla).that is the look should be something like that og gftp,it should have all the properties of present wget(like continue downloading even when the user has logged out) and that of download accelarator.How nice will be that??