SWIFT Module 7.1 SP10.July 2020 | Getting Started | Concepts | SWIFTNet Component | SWIFTNet Component Store-and-Forward Mode | Fetching a File from a Queue
 
Fetching a File from a Queue
If a FileAct message is received in either pull mode or push mode, a client process must fetch a file. When the file is available to be fetched, the SWIFTNet SnF does the following:
*In push mode, delivers a Sw:NotifyFileRequestHandle within Sw:HandleFileRequest.
*In pull mode, delivers a Sw:NotifyFileRequestHandle within Sw:PullSnFResponse.
The Sw:FetchFileRequest copies the structure received in the Sw:FileRequestHandle. The response is the TransferRef that is used to identify the file transfer from SWIFTNet SnF to the receiver. For a pull session, no other message will be delivered for that queue until the file has been fetched and a delivery acknowledgment has been sent.
Important:
When a file is fetched from the queue, the file will remain within SWIFTNet SnF until an explicit acknowledgment has been sent by a client process.