Skip to main content

Copy File

The Copy File activity copies a file from one location to another on the local file system.

Configuring the Copy File Activity​

To configure the Copy File activity, fill in the required fields in the activity panel.

Configuration​

FieldRequiredDescriptionExample
NameRequiredSpecify the name for this activity.MyActivity
DescriptionOptionalSpecify the description for this activity.Reads a file from S3
MoveOptionalMove file instead of copying. Source is deleted after transfer.
Create DirectoryOptionalCreate directory if it does not exist.
OverwriteOptionalOverwrite if file already exists.

Input​

FieldRequiredData TypeDescriptionExample
SourceOptionalObjectSource file reference.
TargetOptionalObjectTarget file reference.

Output​

FieldRequiredData TypeDescriptionExample
Source PathOptionalStringSource file path.
Target PathOptionalStringTarget file path.
MovedOptionalBooleanWhether the file was moved.false
Content LengthOptionalNumberContent size in bytes.0
Transfer TypeOptionalStringType of transfer performed.