Results 1 to 5 of 5
Is it possible to make a script download a file off the internet http://something .... and bring it into the local directory?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-03-2003 #1Just Joined!
- Join Date
- Feb 2003
- Posts
- 2
Download
Is it possible to make a script download a file off the internet http://something.... and bring it into the local directory?
- 02-03-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You don't need to, there already is wget, which takes a URL and download the file it points to to the cwd.
Is that what you were looking for, or do you really, really want to do the script?
- 02-04-2003 #3Just Joined!
- Join Date
- Feb 2003
- Posts
- 2
For some reason wget (BTW it's linux-gnu) isn't working for me on the account I'm trying to use it on (sourceforge.net if it helps). Basically I want to grab a tarball from sourceforge (using wget to grab files on other addresses works though) and put it into my directory...
- 02-04-2003 #4Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
sourceforge is weird, make sure you have the correct url (the one that ends in .tar.gz, not the "?save=1" or whatever that url is) This got me for a while, to get around it you would have to parse html I think.
I respectfully decline the invitation to join your delusion.
- 03-02-2003 #5Just Joined!
- Join Date
- Mar 2003
- Posts
- 14
you can also use
lwp-request http://www.


Reply With Quote
