<!--
{
  "documentType" : "article",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/downloading-information-legacy",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Downloading Information (Legacy)"
}
-->

# Downloading Information (Legacy)

## Topics

### Downloading Information (Legacy)

[`WebDownload`](/documentation/WebKit/WebDownload)

`WebDownload` objects initiate download client requests on behalf of a delegate. A download request involves loading the data, decoding it (if necessary), and saving it to a file. Instances of this class behave similar to `NSURLDownload` except delegates of `WebDownload` may implement an additional delegate method. The method allows the delegate to specify the window to be used for authentication sheets. If the delegate does not implement this method, the `WebDownload` object will prompt the user for authentication using the standard WebKit authentication panel, as either a sheet or window. There are no additional methods defined in this class. See [`WebDownloadDelegate`](/documentation/WebKit/WebDownloadDelegate) for the delegate method.

[`WebDownloadDelegate`](/documentation/WebKit/WebDownloadDelegate)

The `WebDownloadDelegate` protocol declares one additional method for delegates of [`WebDownload`](/documentation/WebKit/WebDownload).

## See Also

  [WebKit Objective-C Programming Guide](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/DisplayWebContent/DisplayWebContent.html#//apple_ref/doc/uid/10000164i)

  <doc://com.apple.documentation/documentation/Foundation/url-loading-system>



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)