Click or drag to resize
ClientFileUploadFromStream Method (Stream, String, String)
Uploads from the specified stream to MOVEit Transfer as the specified file.

Namespace: MOVEit.DMZ.API
Assembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax
public string FileUploadFromStream(
	Stream InputStream,
	string MOVEitPath,
	string Notes
)

Parameters

InputStream
Type: System.IOStream
Stream from which to read the data to be uploaded to the MOVEit Transfer host.
MOVEitPath
Type: SystemString
Path of the file on the MOVEit Transfer host to upload to.
Notes
Type: SystemString
Any notes to be included with the file upload.

Return Value

Type: String
ID of the newly uploaded file if successful; otherwise, "0".
Remarks
Since the length of the file data is not known at the start of the upload when using this method, MOVEit Transfer will not be able to fully check the validity of the upload before it begins. If the uploaded data exceeds either the user's or the folder's quota, the upload will not fail until after all data has been transferred.
See Also