---
title: Progress.FileOperationKind
framework: foundation
role: symbol
role_heading: Structure
path: foundation/progress/fileoperationkind-swift.struct
---

# Progress.FileOperationKind

The kind of file operation.

## Declaration

```swift
struct FileOperationKind
```

## Discussion

Discussion When tracking file operations with the progress kind set to file, provide a value for the fileOperationKindKey in the user info dictionary. To specify the kind of file operation, provide one of the following values: copying decompressingAfterDownloading downloading uploading receiving

## Topics

### Creating Kinds of File Operation

- [init(_:)](foundation/progress/fileoperationkind-swift.struct/init(_:).md)
- [init(rawValue:)](foundation/progress/fileoperationkind-swift.struct/init(rawvalue:).md)

### Recognizing Kinds of File Operations

- [copying](foundation/progress/fileoperationkind-swift.struct/copying.md)
- [decompressingAfterDownloading](foundation/progress/fileoperationkind-swift.struct/decompressingafterdownloading.md)
- [downloading](foundation/progress/fileoperationkind-swift.struct/downloading.md)
- [uploading](foundation/progress/fileoperationkind-swift.struct/uploading.md)
- [receiving](foundation/progress/fileoperationkind-swift.struct/receiving.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Inspecting File Operation Progress Information

- [fileOperationKind](foundation/progress/fileoperationkind-swift.property.md)
- [fileURL](foundation/progress/fileurl.md)
- [fileTotalCount](foundation/progress/filetotalcount.md)
- [fileCompletedCount](foundation/progress/filecompletedcount.md)
