ClientFileUpload Method (String, String) |
Uploads the specified file into the specified MOVEit Transfer folder.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public string FileUpload(
string LocalPath,
string MOVEitFolder
)
Public Function FileUpload (
LocalPath As String,
MOVEitFolder As String
) As String
public:
String^ FileUpload(
String^ LocalPath,
String^ MOVEitFolder
)
Parameters
- LocalPath
- Type: SystemString
Path of the file on the local filesystem to upload to the MOVEit Transfer host. - MOVEitFolder
- Type: SystemString
Path or ID of the folder on the MOVEit Transfer host to upload the file to.
Return Value
Type:
StringID of the newly uploaded file if successful; otherwise, "0".
Remarks
If a file of
the same name already exists in the MOVEit Transfer folder, it may not be overwritten;
the exact behavior of this function depends on the value of the "Allow Overwrite"
flag set on that particular folder. Use this function if you want to upload files
to MOVEit Transfer without renaming them.
If a "Partial" file of the same name exists in the MOVEit Transfer folder, this function
will automatically execute a resumed upload, copying only the file data required to
complete the upload. This keeps API from having to start large uploads again from the
beginning if an upload is interrupted.
See Also