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

Downloading large file!

P: n/a
Hello,

I would like to copy a very large file (80MB) from the web, which is
the best approach for downloading such a large file and also how can I
show how much percent completed to user.

I know I can use webdownload and also before start downloading, the can
use the HEAD to get the size and then check the file size very 10 sec
and show the progress (one of the approach). But for sure in .Net there
should be a better way to do this. Does anyone have any idea that it
can be done easier??

Thanks.

Sep 18 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
DBC,

To download a file is in my idea the download.file the fastest.

http://msdn2.microsoft.com/en-us/lib...nloadfile.aspx

Any improvement to show the downloading will cost time.

However to use a progressbar you can use the getresponsestream
http://msdn2.microsoft.com/en-us/library/e1ax3cw0.aspx

I hope this helps,

Cor

"DBC User" <db*****@gmail.comschreef in bericht
news:11**********************@m73g2000cwd.googlegr oups.com...
Hello,

I would like to copy a very large file (80MB) from the web, which is
the best approach for downloading such a large file and also how can I
show how much percent completed to user.

I know I can use webdownload and also before start downloading, the can
use the HEAD to get the size and then check the file size very 10 sec
and show the progress (one of the approach). But for sure in .Net there
should be a better way to do this. Does anyone have any idea that it
can be done easier??

Thanks.

Sep 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.