Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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? – Safado Jun 30 '11 at 17:34
Ryan, sure. Or a link to one that I can hack. – MathewC Jun 30 '11 at 17:36
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. – Safado Jun 30 '11 at 17:42
up vote 3 down vote accepted

HTTrack can be run just as a EXE.

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

share|improve this answer
This worked, but sadly not on the network I was trying to do it from as the proxy caused issues. – MathewC Jul 3 '11 at 2:03

WGET or CURL are good choices for this task. Using CURL to pick up the latest copy of Httrack through your proxy:

curl -x myproxy:8081 -u robw:mysecretpassword --proxy-ntlm 
share|improve this answer
Does curl work on windows? – becko Aug 5 '15 at 20:13
Yes - there has been a win32 port available for years. See: for a version. – RobW Aug 5 '15 at 22:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.