Skip to Content

File Sender Adapter with FTP protocol

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2009 at 08:52 PM

    Hey

    There is no locking mechanism available from SAP for this.

    Please look at question # 3 of SAP Note 821267

    Thanks

    Aamir

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2009 at 01:49 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.