activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow activities

Last updated Mar 13, 2026

MoveFile

Moves a file from a specified location to another.

Definition

Namespace: UiPath.Activities.System.API

Assembly: UiPath.System.Activities.Api (in UiPath.System.Activities.Api.dll)

MoveFile(IResource, IResource, Boolean)

void MoveFile(
    IResource pathResource,
    IResource destinationResource,
    bool overwrite
)
void MoveFile(
    IResource pathResource,
    IResource destinationResource,
    bool overwrite
)

pathResource IResource : The path of the file (as a String) to be moved.

destinationResource IResource : The destination path (as a string) where the file is to be moved.

overwrite Boolean : When checked, overwrites the files in the destination folder with the file that is to be copied.

  • Definition
  • MoveFile(IResource, IResource, Boolean)

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated