cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Adapter with FTP protocol

matteo_fusi2
Participant
0 Kudos

Hi,

I implementet a file sender adapter with FTP protocol. There is a problem: the sender processes the files even if they're in use by another application.

I.E. If another application put files (via ftp) in the sender work directory (that is on ftp), the sender processes those files before their transfer is completed.

I don't want that this sender in a communication channel in PI 7.1, imports files in the system when they aren't completed yet.

There are some ways to block sender before it processes incompleted files (in an ftp)?

Thanks

Matteo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey

There is no locking mechanism available from SAP for this.

Please look at question # 3 of SAP Note 821267

Thanks

Aamir

Answers (1)

Answers (1)

former_member187339
Active Contributor
0 Kudos

Hi,

File sender adapter provides a check for NFS mode

+Check this

To specify additional parameters in the adapter configuration, set the Advanced Modeindicator.

● Msecs to Wait Before Modification Check

Enter the number of milliseconds that the adapter must wait before it checks whether the files have been changed.

This parameter is not available if you have selected File Content Conversion as the Message Protocoland then made an entry under Recordsets per Message that splits an input file into several messages.

This parameter is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.+

Other approach can be to apply OS level checks

Regards

Suraj