<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchConnectivity",
  "identifier" : "/documentation/WatchConnectivity/WCSessionFileTransfer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Watch Connectivity"
    ],
    "preciseIdentifier" : "c:objc(cs)WCSessionFileTransfer"
  },
  "title" : "WCSessionFileTransfer"
}
-->

# WCSessionFileTransfer

Information about in-progress file transfers.

```
class WCSessionFileTransfer
```

## Overview

You do not create instances of this class yourself. When you initiate a file transfer, the system creates a new file transfer object to represent the transferred file. Use that object to get the file information or to cancel the transfer as needed.

To initiate a file transfer operation, call the [`transferFile(_:metadata:)`](/documentation/WatchConnectivity/WCSession/transferFile(_:metadata:)) method of your app’s [`WCSession`](/documentation/WatchConnectivity/WCSession) object.

## Topics

### Getting the File Information

[`file`](/documentation/WatchConnectivity/WCSessionFileTransfer/file)

The file being transferred.

### Managing the File Transfer

[`transferring`](/documentation/WatchConnectivity/WCSessionFileTransfer/isTransferring)

A Boolean value indicating whether the file is still being transferred.

[`progress`](/documentation/WatchConnectivity/WCSessionFileTransfer/progress)

An object that tracks the progress of the file transfer.

[`-  cancel`](/documentation/WatchConnectivity/WCSessionFileTransfer/cancel())

Cancels the file transfer.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)