---
title: "download(_:finishedWithFileURL:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/badownloadmanagerdelegate/download(_:finishedwithfileurl:)"
---

# download(_:finishedWithFileURL:)

Informs the delegate about a finished asset download and provides the on-disk location.

## Declaration

```swift
optional func download(_ download: BADownload, finishedWithFileURL fileURL: URL)
```

## Parameters

- `download`: The finished asset download.
- `fileURL`: The URL to the downloaded asset’s location in the associated App Group.

## Discussion

Discussion Prefer to access downloaded assets in-place, rather than moving or copying them. This enables the system to include those assets when evaluating which files it can safely delete when a person’s device is running low on disk space.

## See Also

### Processing concluded downloads

- [download(_:failedWithError:)](backgroundassets/badownloadmanagerdelegate/download(_:failedwitherror:).md)
