Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

up vote 3 down vote accepted

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.

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
add comment

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 http://download.httrack.com/cserv.php3?File=httrack.exe 
share|improve this answer
add comment

Your Answer

 
discard

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.