---
title: "download(_:willResumeWith:fromByte:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsurldownloaddelegate/download(_:willresumewith:frombyte:)"
---

# download(_:willResumeWith:fromByte:)

Sent when a download object has received a response from the server after attempting to resume a download.

## Declaration

```swift
optional func download(_ download: NSURLDownload, willResumeWith response: URLResponse, fromByte startingByte: Int64)
```

## Parameters

- `download`: The URL download object sending the message.
- `response`: The URL response received from the server in response to an attempt to resume a download.
- `startingByte`: The location of the start of the resumed data, in bytes.

## See Also

### Download Data and Responses

- [download(_:decideDestinationWithSuggestedFilename:)](foundation/nsurldownloaddelegate/download(_:decidedestinationwithsuggestedfilename:).md)
- [downloadDidBegin(_:)](foundation/nsurldownloaddelegate/downloaddidbegin(_:).md)
- [download(_:didCreateDestination:)](foundation/nsurldownloaddelegate/download(_:didcreatedestination:).md)
- [download(_:didReceive:)](foundation/nsurldownloaddelegate/download(_:didreceive:)-817z3.md)
- [download(_:didReceiveDataOfLength:)](foundation/nsurldownloaddelegate/download(_:didreceivedataoflength:).md)
- [download(_:shouldDecodeSourceDataOfMIMEType:)](foundation/nsurldownloaddelegate/download(_:shoulddecodesourcedataofmimetype:).md)
- [download(_:willSend:redirectResponse:)](foundation/nsurldownloaddelegate/download(_:willsend:redirectresponse:).md)
