1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Download 50 //ftp files

Discussion in 'General Internet' started by TopFarmer, 2011/01/03.

  1. 2011/01/03
    TopFarmer

    TopFarmer Well-Known Member Thread Starter

    Joined:
    2005/01/24
    Messages:
    252
    Likes Received:
    6
    I have a slow dial up and need to download linux updates consisting of 50+/ftp files. Will have to use a public comp running XP or Vista, is there a easier way then copy/paste each site from a file to IE's address bar ?

    Example of download site.
    {ftp://ftp.debian.org/debian/pool/main/t/tar/tar_1.20-1+lenny1_i386.deb}
     
  2. 2011/01/03
    markmadras

    markmadras Banned

    Joined:
    2010/08/23
    Messages:
    1,529
    Likes Received:
    105

  3. to hide this advert.

  4. 2011/01/03
    TopFarmer

    TopFarmer Well-Known Member Thread Starter

    Joined:
    2005/01/24
    Messages:
    252
    Likes Received:
    6
    markmadras--thanks but not want I need. Mybe my question was poorly asked.

    I am running SimplyMepis ver 8.5 and it needs 50+ file updates and with a dial up its nearly impossible. I used the package manager to generate a update script that contains the files. I can copy/paste the sites from the script to IE's address bar , one at a time but that is prone to error. Is there any way to write a Win script and auto download all the files ? I'm sure that is how MS Window update does it.
     
  5. 2011/01/03
    markmadras

    markmadras Banned

    Joined:
    2010/08/23
    Messages:
    1,529
    Likes Received:
    105
    OK, I see what you are trying to do just misunderstood a little, Linux covers so so many programs, an area I have yet to learn much about.

    You will be needing some kind of download manager. If you want help writing the script to do this you might get somewhere looking for forums that deal with the various programming languages. I don't think any one here is at that level but they may know where to go or have links to a ready made program that will do the job for you.
     
  6. 2011/01/04
    TopFarmer

    TopFarmer Well-Known Member Thread Starter

    Joined:
    2005/01/24
    Messages:
    252
    Likes Received:
    6
    found a solution, will poorly write How-To. Be sure to change all drive:foler to your needs.

    Download 'wget.exe' , it is a CMD program so no install takes place.

    1)make a folder to put 'wget.exe' and a file containing the ftp url' plus a sub folder for the downloaded files . The 'ftp' file I will use is 'toget' not 'toget.txt' Its contains will look like:

    Code:
    ftp://ftp.debian.org/debian/pool/main/g/gksu/gksu_2.0.0-8_i386.deb
    ftp://ftp.debian.org/debian/pool/main/g/gconf/gconf2_2.22.0-1_i386.deb
    I now have
    Code:
    C:\linux\wget.exe
     C:\linux\toget          ---file containing ftp url's
     C:\linux\download\      ---folder to contain downloads items.
    start the 'CMD' command-- start-run-cmd
    at the CMD prompt type in :

    path C:\linux
    cd C:\linux\download ---currently it is at C:\Documents and settings\'user name' ---change the "CMD's" working path to the download folder. If you do not change items will be download to C:\Documents and settings\'user name'
    wget -c -i toget

    wget --help for commands
     
  7. 2011/01/04
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    It appears you want to download using a Windows computer, in which case you don't need wget. Just use the built in Windows FTP client (command line). You can create a text file of all the downloads, 1 url per line and ftp can use that file to download all the packages.

    FTP Commands
     
  8. 2011/01/05
    TopFarmer

    TopFarmer Well-Known Member Thread Starter

    Joined:
    2005/01/24
    Messages:
    252
    Likes Received:
    6
    I am checking that out but as of yet have not found a site that tells me how to use a file containing the url's. Have found where I can use a control file , that contains the ftp commands and a url address but not multable addresses. But do not yet fully understand it, will web search some more. Thanks for the tip.
     
  9. 2011/01/05
    wildfire

    wildfire Getting Old

    Joined:
    2008/04/21
    Messages:
    4,649
    Likes Received:
    124
    Tony's link provides you with the nuances of Windows FTP...

    Look here for necessary FTP commands (mainly GET) and edit your text file accordingly.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.