Class Reference
EnsLib.MFT.Operation.Passthrough
|
|
![]() |
|||
Private Storage |
Accepts objects of type Ens.StreamContainer and uploads to MFT Server
|
|
Request | Response |
---|---|
Ens.StreamContainer | %MFT.ItemInfo |
|
The type of adapter used to communicate with external systems
List of properties can be set as settings in the configuration file format is a comma separated list of property names
|
The OutputFilename property of the request is used as the name of file to create on the MFT Server.If the OutputFilename property of the request is empty then this specification setting is used to generate the target filename as follows:
The %f specifier if present will be replaced with the value of the filename portion of the OriginalFilename property.
The specification may include timestamp specifiers. See the method CreateTimestamp in class
Ens.Util.File for documentation of timestamping options.An example to specify a fixed name with a date time stamp for those requests with an empty OutputFilename could be:
ImportantDocument.%Q.txt
This will create a target file name of for example ImportantDocument.2017-01-30_14.12.44.630.txt
Name of target MFT Folder to use if the request object has an empty OutputFolder property.
The folder value will be concatenated with the target filename and hence a trailing / or other character as appropriate for the particular service is needed.
Indicate if a file on the server exists with the same name then still upload.
Default is to upload if a file with the same name exists.
The particular MFT Server may generate different versions rather than replace.
|
Takes an Ens.StreamContainer object and uploads the Stream to the MFT Service.
See DefaultMFTFolder and DefaultFilenameSpec.
Returns an %MFT.ItemInfo object with information about the upload.