Unix script to recieve files
Results 1 to 9 of 9

Thread: Unix script to recieve files

  1. #1
    Member
    Join Date
    Oct 2002
    Posts
    31

    Unix script to recieve files

    have permission to leach about 400 pics from a website I have acsess to the list of the files through http I wish to write a script on my bsd box to download all the files w/o having to click and save as through the browser. Is there a command to get a file from a http server form console?

    Thanks

    //yourname here

  2. #2
    Senior Member
    Join Date
    Jan 2003
    Posts
    3,914
    I doubt you have permission, or you wouldn't have feel the need to clarify yourself, but it's all good.

    I believe the command you are looking for is wget. You can do a man on wget to find out more about how it works, but it'll do the trick for ya.
    IT Blog: .:Computer Defense:.
    PnCHd (Pronounced Pinched): Acronym - Point 'n Click Hacked. As in: "That website was pinched" or "The skiddie pinched my computer because I forgot to patch".

  3. #3
    Member
    Join Date
    Oct 2002
    Posts
    31
    thanks alot


    //yourname here

  4. #4
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534
    wget -m http://server.domain.ext/folder

    will download about evrything it can from server.domain.ext/folder and download it in a folder called (wonder) server.domain.ext/folder

    -m is the 'mirror' function, and can be used to mirror 'static' sites (since php etc will be parsed by the server whilst downloading it)
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

  5. #5
    Junior Member
    Join Date
    Sep 2003
    Posts
    13
    Just a silly little question....But how much HD space do you have left/available? Pulling down all of the downloads/photos you can from a site could be detrimental to it's health, in more ways than one....

    Good luck,
    SQ......

  6. #6
    Member
    Join Date
    Oct 2002
    Posts
    31
    FINISHED --03:06:15--
    Downloaded: 10,833,357 bytes in 321 files

    Did not take that much room

    thanks again for the help all

    //yourname here

  7. #7
    Trumpet-Eared Gentoo Freak
    Join Date
    Jan 2003
    Posts
    992
    if they're 321 nudies, hook me up with the site...

    Come and check out our wargame-site @ http://www.rootcontest.org
    We chat @ irc.smdc-network.org #lobby

  8. #8
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    Posts
    953
    darn belgium kiddies and their crazy pr0n


    # Edit, 900th post
    yeah, I\'m gonna need that by friday...

  9. #9
    Leftie Linux Lover the_JinX's Avatar
    Join Date
    Nov 2001
    Location
    Beverwijk Netherlands
    Posts
    2,534
    yup, wget is the tool for the pr0n lover

    btw, congrats tampabay420 !!
    ASCII stupid question, get a stupid ANSI.
    When in Russia, pet a PETSCII.

    Get your ass over to SLAYRadio the best station for C64 Remixes !

Posting Permissions

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