<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreTransferable",
  "identifier" : "/documentation/CoreTransferable/SentTransferredFile/init(_:allowAccessingOriginalFile:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core Transferable"
    ],
    "preciseIdentifier" : "s:16CoreTransferable19SentTransferredFileV_022allowAccessingOriginalE0AC10Foundation3URLV_Sbtcfc"
  },
  "title" : "init(_:allowAccessingOriginalFile:)"
}
-->

# init(_:allowAccessingOriginalFile:)

Creates a description of a file from the perspective of the sender.

```
init(_ file: URL, allowAccessingOriginalFile: Bool = false)
```

## Parameters

`file`

A URL that describes the location of the file.

`allowAccessingOriginalFile`

A Boolean value that indicates whether
the receiver can read and write the original file.
When set to `false`, the receiver can only gain access to a copy of the file.

---

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)