The sequence of Methodcalls necessary to execute a read file transfer transaction is illustrated in Figure 2.

image005.png

Figure 2– Read file transfer example sequence

The read file transfer transaction is started with the Method GenerateFileForReaddefined by the TemporaryFileTransferType. After a successful call of this Method, the Clientreads the file content by calling the Method Readdefined by the FileTypeuntil the whole file is transferred from the Serverto the Client. The transaction is completed by calling the Method Closedefined by the FileType.

The sequence of Methodcalls necessary to execute a write file transfer transaction is illustrated in Figure 3.

image006.png

Figure 3– Write file transfer example sequence

The write file transfer transaction is started with the Method StartWriteTransferdefined by the TemporaryFileTransferType. After a successful call of this Method, the Clientwrites the file content by calling the Method Writedefined by the FileTypeuntil the whole file is transferred from the Client to the Server. The transaction is completed by calling the Method CloseAndCommitdefined by the TemporaryFileTransferType. If the Clientwants to abort the operation it uses the Close Methodof the temporary FileType Object.