ClientFileUploadFromStream Method (Stream, Int64, String, String) |
Uploads from the specified stream to MOVEit Transfer as the specified file.
Namespace: MOVEit.DMZ.APIAssembly: MOVEit.DMZ.API (in MOVEit.DMZ.API.dll) Version: 9.0.0.0
Syntax public string FileUploadFromStream(
Stream InputStream,
long FileSize,
string MOVEitPath,
string Notes
)
Public Function FileUploadFromStream (
InputStream As Stream,
FileSize As Long,
MOVEitPath As String,
Notes As String
) As String
public:
String^ FileUploadFromStream(
Stream^ InputStream,
long long FileSize,
String^ MOVEitPath,
String^ Notes
)
Parameters
- InputStream
- Type: System.IOStream
Stream from which to read the data to be uploaded to the MOVEit Transfer host. - FileSize
- Type: SystemInt64
Length of the stream contents. - 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:
StringID of the newly uploaded file if successful; otherwise, "0".
See Also