The ReceiveFile command is used to download binary data from the client to the ITP/Server. This feature requires a synchronous TCP/IP connection or an MQSeries interface.
For MQSeries, this command will read a message from the Src queue and store its contents in the Dest file. It will read the next message whose correlation id matches the message id of the request. For a detailed explanation see the description of the MQSeries Protocol in this manual.
Syntax
ReceiveFile
Src(<string>)
Dest(<string>);
Parameters
Src
Required
For TCP/IP, a client side file identification. For MQSeries, the name of a queue.
Dest
The file name on the ITP/Server side.
Remarks
For TCP/IP the ReceiveFile command will not perform codepage translations.
For MQSeries, it depends on the format of the message whether or not ITP/Server services will try to convert data, If the format of the data message is set to MQFMT_STRING, ITP/Server will try to convert the data to Unicode before storing it in the indicated file. Otherwise it will request no conversion. In the latter case, whether indeed no conversion takes place depends on the configuration of the MQSeries queues, the format of the message, and on whether the client demands a conversion when putting the data on the queue. See your MQSeries manuals for more information.