---
title: fileURL
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/progress/fileurl
---

# fileURL

A URL that represents the file for the current progress object.

## Declaration

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

## Discussion

Discussion Set this value for a progress that you publish() to subscribers that register for updates using addSubscriber(forFileURL:withPublishingHandler:). If present, Progress presents additional information in its localized description by setting a value in the userInfo dictionary.

## See Also

### Inspecting File Operation Progress Information

- [fileOperationKind](foundation/progress/fileoperationkind-swift.property.md)
- [fileTotalCount](foundation/progress/filetotalcount.md)
- [fileCompletedCount](foundation/progress/filecompletedcount.md)
- [Progress.FileOperationKind](foundation/progress/fileoperationkind-swift.struct.md)
