Product Documentation

c-treeRTG V2 Update Guide

Previous Topic

Next Topic

<filecopy>

The <filecopy> configuration setting forces the use of the server-side file copy capability to carry on copy operations. The <filecopy> option is not enabled by default so a user must explicitly enable it in the configuration file in order to use it. When <filecopy> is enabled and conditions do not allow it to be used, the copy operation fails rather than falling back to other copy methods.

The <filecopy> option forces a physical copy of the data and index files. The other copy mechanisms available extract the structure information for the source file, create a new file accordingly with the current ctree.conf settings, and then copy records from the source to the destination (the outcome of this process can be a file which is not identical to the source file, for example it might be compressed when the source was not).

Accepted Values

Value

Effect

Synonyms

yes

Forces the use of the server-side file copy (a physical copy of the data and index files).

y, true, on, 1

no

Extract the structure of the source file, create a new file (with current ctree.conf settings), and copy records from the source to the destination.

n, false, off, 0

Attributes

Attribute

Description

Synonyms

overwrite="y"

Allow existing files to be overwritten (disabled by default).

 

See also:

  • ctutil -filecopy

TOCIndex