Renames the specified file to the given name.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public bool FileRename(
string MOVEitPath,
string NewName
)
Public Function FileRename (
MOVEitPath As String,
NewName As String
) As Boolean
public:
bool FileRename(
String^ MOVEitPath,
String^ NewName
)
Parameters
- MOVEitPath
- Type: SystemString
Path or ID of the file on the MOVEit Transfer host to rename. - NewName
- Type: SystemString
New name to apply to the file.
Return Value
Type:
Booleantrue if successful; otherwise,
false.
See Also