Microsoft, XP

Posted on 2007-08-08
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.
Question by:RobertSeattle
    LVL 43

    Accepted Solution

    Try wget.  You can use a commandline to download the file with this, e.g.

    Windows version:

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

    cd \yourdir
    wget --tries=5 -o logfile.txt




    Author Comment

    I also noticed (after posting...duh) that there is a free .exe called httpcopy.exe from ActivePlus
    LVL 43

    Expert Comment

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

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
    You may have already been in the need to update a whole folder stucture using a script. Robocopy does it well and even provides a list of non-updated files in a log (if asked to). Generally those files that were locked by a user or a process by the …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    This video discusses moving either the default database or any database to a new volume.

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now