Using File Commands

AFP provides these commands for working on files:

The AFP client uses the FPSetFileParms command to modify a specified file’s parameters, the FPCreateFile command to create a file, and the FPCopyFile command to copy a file that exists on a volume managed by a server to any other volume managed by that server. To obtain a specified file’s parameters, the AFP client uses the FPGetFileDirParms command, discussed in the next section.

The FPCreateID command creates a unique File ID for an existing file, and FPDeleteID removes a File ID.

The FPResolveID command uses a File ID to retrieve information about a file.

The FPExchangeFiles command preserves existing file IDs when an application performs a Save or a Save As operation.