Copies a file from the specified path to the specified folder.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public string FileCopy(
string MOVEitPathFrom,
string MOVEitFolderTo
)
Public Function FileCopy (
MOVEitPathFrom As String,
MOVEitFolderTo As String
) As String
public:
String^ FileCopy(
String^ MOVEitPathFrom,
String^ MOVEitFolderTo
)
Parameters
- MOVEitPathFrom
- Type: SystemString
Path or ID of the original file on the MOVEit Transfer host. - MOVEitFolderTo
- Type: SystemString
Path or ID of the folder on the MOVEit Transfer host to copy the original file to.
Return Value
Type:
StringThe ID of the newly created file if successful; otherwise, "0".
See Also