Any ideas on how to access website and download file automatically ?

Posted on 2004-10-21
Last Modified: 2010-04-01
Hi experts,

Any ideas on how to access website and download file automatically ?
Question by:justinY
    LVL 86

    Accepted Solution

    If you are using Windows, use

    URLDownloadToFile(NULL,"", "c:\\", 0, NULL);

    Author Comment

    OK, In my real world. I need login first with my ID and password, and I click couple of OKs and Yes, then I have the page for downloading. I click on one of the downloads on the screen, specify my location for saving. then click OK to download.

    So, my question is where can I put my ID and password, and how can I handle OKs and Yes ?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Cisco Complete Network Certification Training

    If you’re an IT engineer or technician, it's time you take your career to the next level. This elite training bundle is brimming with all of the information you need to learn to sit for Cisco CNNA, CCNP, and CCENT certification exams.

    Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
    Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
    The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    875 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

    12 Experts available now in Live!

    Get 1:1 Help Now