Results 1 to 6 of 6
All I know about wget is it works like this:
Code:
wget LINK
My questions is whether the "LINK" has to be a direct download link? Also, is there more ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-29-2012 #1Just Joined!
- Join Date
- Sep 2012
- Posts
- 19
wget
All I know about wget is it works like this:
My questions is whether the "LINK" has to be a direct download link? Also, is there more that I need to know about it?Code:wget LINK
- 09-29-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,144
LINK is a URL such as http://computer.domain/.../filename
Example: wget http://some.system.com/files/filename.txt
That will download the specified file to your local directory as 'filename.txt'.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-29-2012 #3Just Joined!
- Join Date
- Sep 2012
- Posts
- 19
So if it was bum.com/index.php, it will download index.php? Please go more into what is allowed and not allowed if possible.
P.S. I can't quote people when they have http in it...
- 09-29-2012 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,144
The wget command will download the file pointed to by the URL to your local system. For example, if you were to issue the command "wget http://www.foobar.com", it would probably download the file "index.htm" or "index.html" from www.foobar.com. If you were to issue the command "wget http://www.foobar.com/files/somefile.txt" and that file exists on the remote site, then "somefile.txt" will be downloaded to your local directory.
Is it getting clearer yet?Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-29-2012 #5Just Joined!
- Join Date
- Sep 2012
- Posts
- 19
Yup. Much clearer.
Is there restrictions? Like PHP files?
- 09-29-2012 #6


Reply With Quote

