Writes a file wrapper’s contents to a given file-system node.
- macOS 10.0–10.10Deprecated
Pathname of the file-system node to which the receiver’s contents are written.
trueto write the file safely so that:
An existing file is not overwritten
The method fails if the file cannot be written in its entirety
falseto overwrite an existing file and ignore incomplete writes.
trueto update the receiver’s filenames (its filename and—for directory file wrappers—the filenames of its sub–file wrappers) be changed to the filenames of the corresponding nodes in the file system, after a successful write operation. Use this in Save or Save As operations.
falseto specify that the receiver’s filenames not be updated. Use this in Save To operations.
true when the write operation is successful,
Beginning with OS X v10.6, the preferred method of referring to files is with a
file:// URL. Therefore, this method has been deprecated in favor of