Microsoft, XP

I want to download a pdf file that has a specific url that is created nightly from a website to my local PC.   Is there a batch command or commands I can use to do this?  Basically a xcopy a internet download.
RobertSeattleAsked:
Who is Participating?
 
Steve KnightConnect With a Mentor IT ConsultancyCommented:
Try wget.  You can use a commandline to download the file with this, e.g.

http://www.gnu.org/software/wget/wget.html

Manuals:  http://www.gnu.org/software/wget/manual/
Windows version: http://xoomer.alice.it/hherold/

In it's simplest form you can do something like this:

c:
cd \yourdir
wget --tries=5 http://your.url.com/yourfile.pdf -o logfile.txt

hth

Steve

0
 
RobertSeattleAuthor Commented:
I also noticed (after posting...duh) that there is a free .exe called httpcopy.exe from ActivePlus

http://www.activeplus.com/us/freeware/httpcopy/
0
 
Steve KnightIT ConsultancyCommented:
Fair enough, wget has been around for ages which is why I tend to go for that....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.