activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

MoveFile

Moves a folder to the specified destination folder in Google Drive.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Syntax

public IFile MoveFile(
	IFile file,
	IFolder destination,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)public IFile MoveFile(
	IFile file,
	IFolder destination,
	string newName = null,
	ConflictBehavior conflictBehavior = ConflictBehavior.AddSeparate
)

Parameters

file IFile
The file to move.
destination IFolder
The Google Drive location where to move the file.
newName String (Optional)
The name given to the moved file. If left blank, the moved file will retain the original name.
conflictBehavior ConflictBehavior (Optional)
What is the expected behavior when a file with the same name already exists in the destination folder.

Return value

IFile - The moved file.
  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.