By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,990 Members | 1,710 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,990 IT Pros & Developers. It's quick & easy.

C# program for automatic web file download ?

P: n/a
jmd
Hello.
I want to write a C# program that does completely automatically what, until
now, I do manually, witch is describe below :
1. I launch IE (6)
2. I browse to my desired download page, say
http://www.site.com/download
This download page contains some textboxes, checkboxes,
radiobuttons, a DOWNLOAD BUTTON and text
3. I check some checkboxes, select some radiobuttons, enter text in some
textboxes and click on the download button
4. I receive a File Download Dialog
I browse to select a path/filename for the file
I click on the save button
The file is then saved on my pc.

Now I want a C# program that does the following :
1. Browses, SILENTLY, to my desired download page
(http://www.site.com/download) and fills in a form
SILENTLY means :
. no visible browse page (I do not want to see the download page
as in IE)
. C# code must be able to check some checkboxes, select some
radiobuttons, enter text in some textboxes
. after filling in data, C# code must be able to click the
Download button
2. C# code must be able to trap (event) the returned data, always
SILENTLY, i.e.
must be able to trap the File Download Dialog, fills somewhere
(?) a path/filename and download the file

Hope this is comprehensible.
Any help, code/articles/HowTos.../, is welcome.
Thank you very well in advance.
Jean-Marie
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.