Core Foundation URL Access Utilities

Overview

Core Foundation URL Access Utilities give you convenient system-independent methods of creating, reading, updating, or deleting a URL resource.

Given a CFURL object that holds either a file or http URL, you can read the resource’s data with the CFURLCreateDataAndPropertiesFromResource function. You can write data to the URL resource, possibly creating a new file, with the CFURLWriteDataAndPropertiesToResource function. Finally, you can destroy, or delete, the resource pointed to by the URL with the CFURLDestroyResource function.

Topics

Core Foundation URL Access Utilities Miscellaneous Functions

CFURLCreateDataAndPropertiesFromResource

Loads the data and properties referred to by a given URL.

Deprecated
CFURLCreatePropertyFromResource

Returns a given property specified by a given URL and property string.

Deprecated
CFURLDestroyResource

Destroys a resource indicated by a given URL.

Deprecated
CFURLWriteDataAndPropertiesToResource

Writes the given data and properties to a given URL.

Deprecated

Constants

CFURLError

CFURL error codes.

Deprecated
File URL Properties

Properties for file URL resources.

HTTP URL Properties

Properties for HTTP URL resources.