Quantcast
Viewing all articles
Browse latest Browse all 741

SFTP Adapter - Handling Large File

In SFTP adapter the following interactive options are included for handling large sized files:

  • Bypass PI Runtime For File Transfer
  • Chunk Mode

Bypass PI Runtime for File Transfer

This option allows user to choose a directory on the PI system where the incoming message or file is saved.  The intended receiver receives a file in the output directory containing the notification of the file where it is saved on PI system.

Chunk Mode

This option allows user to divide an incoming message into chunks of message ranging from 1 MB to 50 MB size as configured.


Prerequisites

You need to install ESR content patch (Minimum patch 02 of SP 04 for XI CONTENT SFTP ADAPTER 1.0) provided as part of the SAP Note 2144272. Upon successful deployment of ESR content patch, apply minimum of the patch number 8 or more of PIB2BSFTP SP04 for availing the fixes.


Procedure


Enabling Bypass PI Runtime for File Transfer

1. Choose Edit in the Edit Communication Channel screen.

2. Open Processing tab under the Parameters tab.

Image may be NSFW.
Clik here to view.
LFH_BYP_1.png

3. In Large File Handling area, perform the following:

3.1 In the Special Processing Mode field, set the value as Bypass PI Runtime For File Transfer.

3.2 In the Absolute File Path (including Filename) field, specify a valid path along with the file name for saving the incoming file on the PI system.

Example for the file path: //host/../../../../<file_name>.<file_type>

Note: To include time stamp to the file name, add “%TS” sequence to the file name, to avoid overwrite of the file.

Image may be NSFW.
Clik here to view.
LFH_BYP_2.png

4. Perform the following steps to verify the configuration and the file transfer:

4.1 Open Communication Channel Monitor.

4.2 Start the Sender Channel.

Image may be NSFW.
Clik here to view.
LFH_BYP_3.png

4.3 Go to the Storage location specified in the Large File Handling section at the time of configuration and verify that the incoming message has been saved.

4.4 Also verify that a file containing the details of the storage location has been put in the out directory of receiver channel.

Example: An XML file will be created in the storage location with the details as given below:

Image may be NSFW.
Clik here to view.
LFH_BYP_5.png

Parameters such as source file location, target file location, file size, time of creation are available in the XML file.

4.5 You can also verify the audit log as shown below.

Image may be NSFW.
Clik here to view.
LFH_BYP_4.png

 

 

Enabling Chunk Mode

 

1. Choose Edit in the Edit Communication Channel screen.

2. Open Processing tab under the Parameters tab.

3. In Large File Handling area, perform the following:

3.1 In the Special Processing Mode field, set the value as Chunk Mode.

This value appears for selection only when the Quality of Service value is Exactly Once in order (asynchronous)

3.2 In the Maximum Size (MB) field, select a desired value of chunk size you want the incoming message to be divided by.

Image may be NSFW.
Clik here to view.
LFH_Chunk_1.png

4. Perform the following steps to verify the configuration and chunking of message:

4.1 Open Communication Channel Monitor.

4.2 Start the Channels.

Image may be NSFW.
Clik here to view.
LFH_Chunk_2.png

4.3 Verify that the audit log for checking the chunking happens.

Image may be NSFW.
Clik here to view.
LFH_Chunk_3.png

The adapter creates a new XI message for each chunk.

4.4 Match the received file with the source file to verify the integrity of the message.


Viewing all articles
Browse latest Browse all 741

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>