---
title: contentURL
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skdownload/contenturl
---

# contentURL

The local location of the downloaded file.

## Declaration

```swift
var contentURL: URL? { get }
```

## Mentioned in

Unlocking purchased content

## Discussion

Discussion The value of this property is valid only when the downloadState property is set to SKDownloadState.finished. The URL becomes invalid after the transaction object associated with the download is finalized.

## See Also

### Accessing a Completed Download

- [error](storekit/skdownload/error.md)
