Batch script to download many files via http?

25,045

Solution 1

http://www.httrack.com/page/2/en/index.html

HTTrack can be run just as a EXE.

It does a great job, and can do everything your looking for.

Solution 2

These should help:
http://ss64.com/nt/for_cmd.html
http://gnuwin32.sourceforge.net/packages/wget.htm

Share:
25,045

Related videos on Youtube

Madhu Cheluvaraju
Author by

Madhu Cheluvaraju

I put this in here to get the autobiographer badge. I'm sure you understand, and am technically not cheating as you now know what kind of person I am.

Updated on September 18, 2022

Comments

  • Madhu Cheluvaraju
    Madhu Cheluvaraju over 1 year

    I have a list of urls (over 100) of patch files from various sources that I need to download.

    I need to create a batch script that will download these files and dump them all into the same directory.

    I do not have administrative privileges on the system I need to download to, so it needs to be batch or similer solution.

    I would love it if it would echo any errors to the screen and keep rolling on to the next download.

    • Safado
      Safado almost 13 years
      You've specified the end goal, but you didn't really specify what part you need help with. Are you just looking for someone to write it for you?
    • Madhu Cheluvaraju
      Madhu Cheluvaraju almost 13 years
      Ryan, sure. Or a link to one that I can hack.
    • Safado
      Safado almost 13 years
      Oh, sorry! When I first read it I was thinking "bash" scripting. I'm a noob at batch scripting and wouldn't be of much help. My bad.
  • Madhu Cheluvaraju
    Madhu Cheluvaraju almost 13 years
    This worked, but sadly not on the network I was trying to do it from as the proxy caused issues.
  • becko
    becko over 8 years
    Does curl work on windows?
  • RobW
    RobW over 8 years
    Yes - there has been a win32 port available for years. See: curl.haxx.se for a version.