<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/file-url-properties",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "File URL Properties"
}
-->

# File URL Properties

Properties for file URL resources.

## Topics

### Constants

[`let kCFURLFileExists: CFString!`](/documentation/CoreFoundation/kCFURLFileExists)

A `CFBoolean` object indicating whether the file referred to by a URL exists.

[`let kCFURLFileDirectoryContents: CFString!`](/documentation/CoreFoundation/kCFURLFileDirectoryContents)

A `CFArray` object holding `CFURL` objects for the contents of a directory referred to by a URL.

[`let kCFURLFileLength: CFString!`](/documentation/CoreFoundation/kCFURLFileLength)

A `CFNumber` object holding the file’s length in bytes.

[`let kCFURLFileLastModificationTime: CFString!`](/documentation/CoreFoundation/kCFURLFileLastModificationTime)

A `CFDate` object holding the file’s modification time.

[`let kCFURLFilePOSIXMode: CFString!`](/documentation/CoreFoundation/kCFURLFilePOSIXMode)

A `CFNumber` holding the file’s POSIX mode as given in `/usr/include/sys/stat.h`.

[`let kCFURLFileOwnerID: CFString!`](/documentation/CoreFoundation/kCFURLFileOwnerID)

A `CFNumber` holding the file owner’s UID.



---

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)