ActiveTransfer Server 10.15 | webMethods ActiveTransfer Documentation | Working with Services in ActiveTransfer | Asset Document Types | Overview | Event Document Types | wm.mft.assets.rec.event.action.properties:CopyFile
 
wm.mft.assets.rec.event.action.properties:CopyFile
Document type that contains the details of the ActiveTransfer Server copy file action.
Variables
destination
Document Specifies the location to copy the file to. Variable are:
*destinationUrl String Specifies the complete path of the destination folder to which the file is copied. The path could be a on the local machine or network, or could be on a remote machine. Example: FILE://c:/ProjectFolder/download/ or FILE:////<host>/SharedFolder/
Note:
Make sure that the operating system user running the ActiveTransfer Server instance has full access to the shared location. When you enter file path locations, be sure to end the path with a slash character (“/”) to identify the location as a folder and not a file.
*createDirectory Boolean (Optional) Specifies if, when the folder path given in Destination URL does not exist, ActiveTransfer must create the directory.
*false - (default) ActiveTransfer does not create the missing directory.
*true - ActiveTransfer creates the missing directory.
*isRemote String Specifies if the destination folder is a remote path.
*false - (default) The destination folder is in the same network.
*true - The destination folder is a remote path.
*isVFS String Specifies if the destination folder is a VFS.
*false - (default) The destination folder is not a VFS.
*true - The destination folder is a VFS.
*username String (Optional) Specifies the username to access the remote system.
*password String (Optional) Specifies the password to the remote system.
Note:
If both isRemote and isVFS are set to true, then ActiveTransfer Server does not create the copy file action.
renameFileTo
String (Optional) Specifies the file name to rename the file to.
waitTime
String (Optional) Specifies the number of seconds to wait before starting the copy operation. This is to ensure that an outside process is not writing to the file.
giveUpAfter
String (Optional) Stops the copy operation if it does not complete within the number of seconds specified in this parameter.
retryFactors
Document (Optional) Specifies the when ActiveTransfer Server should retry the copy file action.
*retryWhenInterrupted String Retry a failed copy operation for the specified number of times.
*false (default)
*true
*retryAttempts String Specifies the number of retries.
*resumeFromPointofInterruption String Specifies that an interrupted file copy action should resume from the point of interruption.
*false (default)
*true
*retryInterval String Specifies the time interval between retries.
ftp
Document Specifies additional details for FTP, FTPS, FTPES protocols. Variables are:
*asciiTransfer String (Optional) Set to true, to change the file transfer mode to ASCII.
Note:
The default transfer mode is binary.
*simpleMode String (Optional) Set to true, to change the file transfer mode to simple mode. Use this option if you are transferring files to AS/400 systems.
*convertLineEnding String (Optional) Set to true for ActiveTransfer Server to change the line endings of the file.
fileExistsAtDestination
Document(Optional) Checks if the file already exists at the destination location. Variables are:
*skipTransferIfFileExists String Set to true, to skip the file transfer if the file already exists at the destination location.
*failActionIfFileExists String Set to true, to fail the action if the file already exists at the destination location.
Note:
If both skipTransferIfFileExists and failActionIfFileExists variables are set to true, then skipTransferIfFileExists will be considered.