Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Implimenting Download Feature

Posted on 2006-11-20
3
185 Views
Last Modified: 2013-11-20
Hi guys,

I am using this (with quite a few modifications):

http://www.codeproject.com/internet/CustomBrowser.asp

and now want to add another function...

I want a function, which will download a group of specified files (HTTP location), to a specified folder (local computer) without prompting the user (basically, it's a bit of a 'download updates' feature).

Anybody able to help me out please?

Cheers guys 'n gals!
0
Comment
Question by:Cyber-Drugs
  • 2
3 Comments
 
LVL 4

Author Comment

by:Cyber-Drugs
ID: 17981976
I found this, and it looks like it may do what I'm after, but I need help in implimenting it into the system in the first link I posted, please.

http://www.codeproject.com/Purgatory/Download_file_from_net.asp
0
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 17982061
If you don't need user interactions, 'URLDownloadToFile()' should work for you, e.g.

URLDownloadToFile(NULL,"http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_22067246.html", "c:\\somefolder\\target.htm",0,NULL);
0
 
LVL 4

Author Comment

by:Cyber-Drugs
ID: 17982237
That would be perfect!

Cheers jkr! :)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Strange date stored 22 152
Pressing cancel button with C# UI Automation 3 81
mapAB Challlenge 35 156
Change to event 1 118
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

856 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