Find the answer to your Linux question:
Results 1 to 5 of 5

Thread: Download

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1


    Is it possible to make a script download a file off the internet http://something.... and bring it into the local directory?

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    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?

  3. #3
    For some reason wget (BTW it's linux-gnu) isn't working for me on the account I'm trying to use it on ( 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...

  4. $spacer_open
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2002
    San Antonio
    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.

  6. #5
    you can also use

    lwp-request http://www.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts