Click or drag to resize
ClientFileUpload Method (String, String)
Uploads the specified file into the specified MOVEit Transfer folder.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
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: String
ID 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