<CFFILE ACTION="Rename" SOURCE="full_path_name" DESTINATION="full_path_name" ATTRIBUTES="file_attributes">
Use CFFILE with the Rename action to rename a file that already exists on the server.
Required. The full path name of the file to rename.
Required. The full path name, including the new name, of the file.
Optional. A comma-delimited list of file attributes to be set on the file being renamed. The following file attributes are supported:
If ATTRIBUTES is not used, the file's attributes are maintained. If Normal is specified as well as any other attributes, Normal is overridden by whatever other attribute is specified.
Individual attributes must be specified explicitly. For example, if you specify just the ReadOnly attribute, all other existing attributes are overwritten.