Activities
latest
false
Copy File - Other latest
logo
Workflow Activities
Last updated Dec 5, 2023

Copy File

UiPath.Core.Activities.CopyFile

Description

Copies a file from a specified location to another.

Project compatibility

Windows - Legacy | Windows | Cross-platform

Cross-platform configuration

  • From - The path of the file to be copied.
  • To - The destination path where to copy the file. If you provide a file path, the file is copied with the name in the provided path. If you provide a folder path, the file is copied with the original name.
  • Overwrite - When selected, overwrites the files in the destination folder with the file that is to be copied.

Advanced options

Options

  • Continue on error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is not configured and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.

Windows - Legacy, Windows configuration

Properties panel

Common

  • Continue on error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is not configured and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
  • DisplayName - The display name of the activity.

    Note: If this activity is included in Try Catch and the value of the Continue On Error property is True, no error is caught when the project is executed.

From

  • From - The path of the file to be copied.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Options

  • Overwrite - When selected, overwrites the files in the destination folder with the file that is to be copied.

To

  • To - The destination path where to copy the file. If you provide a file path, the file is copied with the name in the provided path. If you provide a folder path, the file is copied with the original name.
logo
Get The Help You Need
logo
Learning RPA - Automation Courses
logo
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2023 UiPath. All rights reserved.