Writer Directives

The suffixes shown are prefixed by the current <WriterKeyword> in a mapping file. By default, the <WriterKeyword> for the File Copy Writer is FILECOPY.

DATASET

Required/Optional: Required

This is the name of the folder to contain the copied files and folders.

An example of the DATASET keyword in use is:

FILECOPY_DATASET /usr/data/output

Workbench Parameter: Destination File Copy Folder

FILE_OPERATION

Required/Optional: Optional

This specifies what operation will be performed on the input files.

Values: COPY | MOVE

Workbench Parameter: File Operation

OVERWRITE_FILE

Required/Optional: Optional

This specifies whether to automatically replace files in the destination folder if they already exist.

Values: yes | no

Default: yes

Workbench Parameter: Overwrite Existing File

COPY_SOURCE_DIRECTORY

Required/Optional: Optional

If the source file location is a folder, this indicates whether to only copy the contents of the source folder to the destination folder or whether to copy the folder name in addition to the contents. The default value no will copy only the contents of the source folder.

Values: yes | no

Default: no

Workbench Parameter: Copy Source Folder

COPY_SUBDIRECTORIES

Required/Optional: Optional

If the source file location is a folder, this specifies whether to additionally copy any subfolders and their contents to the destination folder. In the case of a move operation the specified subfolders will be moved only if this option set to yes.

Values: yes | no

Default: yes

Workbench Parameter: Copy Subfolders

FAIL_NONEXISTENT_SOURCE

This directive specifies whether the transformation should error when the specified source file/folder does not exist. When this flag is set to No the transformation will log a warning and proceed when the source file/folder does not exist.

Values: yes | no

Default: no

Workbench Parameter: Error on Non-Existent Source

MIME_TYPE (FME Server use only)

This directive is only valid for users who are authoring for FME Server's streaming service, and would like to be able to create HTML files on the fly for streaming into the browser (as opposed to streaming plain text back to the browser).

By adjusting this setting, the user is communicating to and storing in the workspace information on how the text file will be streamed back if it is used in the streaming service.

Values

The valid values for this directive include all valid MIME types. Several common types are listed and others can be entered as text strings.

Default: text/plain

Required/Optional

Optional