?
Solved

Microsoft, XP

Posted on 2007-08-08
3
Medium Priority
?
218 Views
Last Modified: 2013-11-05
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.
0
Comment
Question by:RobertSeattle
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
Steve Knight earned 200 total points
ID: 19656924
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
 

Author Comment

by:RobertSeattle
ID: 19657329
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
 
LVL 43

Expert Comment

by:Steve Knight
ID: 19658727
Fair enough, wget has been around for ages which is why I tend to go for that....
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Loops Section Overview
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question