<CFFILE ACTION="Move"
SOURCE="file_name"
DESTINATION="directory_name"
ATTRIBUTES="file_attributes">
SOURCE
Required. The file to move (with directory location).
DESTINATION
Required. The directory to which the file will be moved. For UNIX, a trailing slash must be included in the target when moving a directory. Backward slashes (\), used in Windows are interpreted as forward slashes (/) in UNIX, and vice versa.
ATTRIBUTES
Optional. A comma-delimited list of file attributes to be set on the file being moved. The following file attributes are supported:
- ReadOnly
- Temporary
- Archive
- Hidden
- System
- Normal
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.
|