cancel
Showing results for 
Search instead for 
Did you mean: 

Need to read source file without deleting it - Sender SFTP adapter

Former Member
0 Kudos

Dear friends,

The data from the source file needs to be read by PI on a daily basis. The file should not be deleted.

Vendor updates the file on a daily basis with file name DataFeed.xml

How to acheive this in Sender SFTP adapter ?

Kindly guide me

Renu

Accepted Solutions (0)

Answers (3)

Answers (3)

Senthilprakash1
Participant
0 Kudos

Hi Renu,

Unfortunately as of latest release of SFTP adapter. Arching is not possible :(. really dont know why :).

as a work around what you can do is create a scenario as 1 sender and 2 reicever.

here: 1 sender: will be the sender fileadapter which will pick the file from souce.

1st receiver: will be a receiver file channel which will palce back the file in the source Archive folder.

2ed Receiver: this will be the actual receiver to which the data has to be given.

Or write a Module in Sender adapter which will archive the files in new location.

Note: Here i am assuming that each time the source creates a new file with same name which contains new data in it everytime.

Regards,

Senthilprakash.

udo_martens
Active Contributor
0 Kudos

Hi,

just switch "Processing Mode" to "Test".

The problem with such a scenario is that your adapter will poll independently from vendors update. So it can happen that you read the file twice. Better use archiving and the vendor should write a new file.

Regards,

Udo

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

What adapter are you using? Is this an SAP FTP adapter, the Seeburger SFTP adapter?

If the SAP FTP adapter, see point 11 in the link below:

Configuring the Sender File Adapter

http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/682bcd7f2a6d12e10000000a1553f6/content.htm

Regards

Mark