How to auto download files

Posted on 2008-10-29
Last Modified: 2012-05-05

I want to write a program that auto downloads files, if necessary, to a certain folder. I do not want the save dialog box appearing  to ask user where to save the file to, instead I wish the file would be automatically download to like c:\MyDownload folder. How to do this or at least what technology involves in?


Question by:petershaw9
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
  • 2
LVL 12

Expert Comment

ID: 22837514
LVL 12

Accepted Solution

jandromeda earned 300 total points
ID: 22837571
Here is a sample code.
				WebClient client = new WebClient();
			catch (Exception e)

Open in new window


Author Comment

ID: 23188646
very good. thank u.

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to copy file 14 92
Nested forach loop to linq 3 45
C# LINQ 5 45
C#: How do I test for null objects and a dub a value? 2 37
Using Quotation Marks in PHP This question ( seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

752 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