Default COPY Parameters
Enterprise Server tracks the last COPY command performed by each Windows user and can re-use the DBServer parameters as default values on subsequent COPY commands.
For example, if a user enters this COPY command
dbenterprise copy (gpc)source/bankdb/= on user to
"e:\xferfiles" text from mcpvlan port 5000
followed by this COPY command
dbenterprise copy (JOE)UPDATES/= ON SYSPACK to "d:\hostfiles\test"
Enterprise Server will populate the missing parameters using stored settings. Internally, this expands to the following command:
dbenterprise copy (JOE)UPDATES/= ON SYSPACK to "d:\hostfiles\test" from mcpvlan port 5000
In some cases, Enterprise Server infers default values even when no user command history exists for the file transfer tool.
If a Windows user has never specified FROM/VIA or PORT values, Enterprise Server uses the DBServer addresses and port numbers that are associated with configured sources in Enterprise Server.
If the COPY command does not specify BINARY or TEXT mode, Enterprise Server does the following to determine the mode: