---
title: fileURL
framework: watchconnectivity
role: symbol
role_heading: Instance Property
path: watchconnectivity/wcsessionfile/fileurl
---

# fileURL

The URL of the file that was received.

## Declaration

```swift
var fileURL: URL { get }
```

## Discussion

Discussion The system places downloaded files inside a temporary directory. If you intend to keep the file, it is your responsibility to move the file to a more permanent location inside your extension’s container directory. You must move the file before your session delegate’s session(_:didReceive:) method returns.

## See Also

### Getting the File Information

- [metadata](watchconnectivity/wcsessionfile/metadata.md)
