Copy File Activity

Description

Copies a file from one location on the server to another.

Usage

A workflow could use the Copy File activity to copy any temporary files created by the Write File or Write File Bytes activity.

Inputs

Source Path

Required

Type: String

The path of the file to copy on the server.

The file system or network path must be valid and the server administrator must configure the appropriate permissions to allow copying of the file.

Attempting to copy a file that does not exist will fail.

Destination Path

Required

Type: String

The path to copy the file to on the server.

If the necessary destination directory path does not exist, it will be created.

Outputs

This activity has no outputs.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

See also...

The File.Copy(String, String) method.