Scott Dorman

ephemeral segment

  Home  |   Contact  |   Syndication    |   Login
  599 Posts | 10 Stories | 848 Comments | 51 Trackbacks

News


Post Categories

Image Galleries


Microsoft Store


Creative Commons License



Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

View blog authority

Add to Technorati Favorites

Windows Live Alerts

AddThis Social Bookmark Button

LinkedIn profile

Community Credit profile

The Code Project

Follow me on Twitter

Get Free Shots from Snap.com

Community Credit Hall of Fame

Get Feedghost

Xobni outlook add-in for your inbox



Support This Site

Tag Cloud


Article Categories

Archives

Post Categories

Image Galleries

It's been a while since I wrote the first version of my FileDownloader article and class. Since that time, there have been a lot of positive comments about the article and a handful of feature requests. I finally made the time to update the classes and the article and resubmit it to The Code Project. This update has the following new methods and properties:

BlockSize
Gets or sets the download block size in Kilobytes (KB).
 
DownloadHtml
Gets or sets a value indicating if HTML pages should be allowed to be downloaded.
 
IndefiniteTimeout
Gets a value that represents an indefinite timeout for a synchronous download operation.
 
IsBusy
Gets a value indicating whether the FileDownloader is running an asynchronous operation.
 
Overwrite
Gets or sets a value indicating if the existing file should be overwritten.
 
PreAuthenticate
Indicates whether to pre-authenticate the request.
 
Timeout
Gets or sets a value indicating the timeout for asynchronous download operations.
 
DownloadAsync
Begin downloading the file at the specified URL, and save it to the current folder.
 
DownloadAsyncCancel
Cancel the current download operation.
 
GetLastModifiedDate
Retrieves the last modified date of the file at the specified URL.

There is another update pending (it has been submitted, but just needs to go through the editing queue) that adds the following property:

UserAgent
Gets or sets the value of the User-agent HTTP header.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Thursday, August 16, 2007 7:35 PM

Feedback

# re: URL File Downloader for .NET Updates 12/17/2009 4:27 PM sunil
very goog works

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: