FTP (Sender) Adapter - Polling Problem

Hello everyone!
I'm trying to pick up an XML file using the FTP Adapter (Sender).
Weird thing is that I have set the "polling interval" for 60secs, but the FTP adapter doesn't seem to want to repeat polling at the said time interval.
It only picks up the file once, and after that no more polling occurs.
Could anyone know what the problem might be?
Warm regards,
Glenn
PS. We are on PI 7.0, SP11.

Hi Glenn,
Check the connection mode in FTP adapter.
Connect permanently or connect everytime.  Try changing the option and see if it works.
If it still doesnt work then contact the guys who are maintaining the FTP server.
Regards,
Sumit

Similar Messages

  • FTP sender adapter wait sometime before processing a message

    Hi,
    I want my FTP sender adapter to wait sometime before processing a message. This is needed in my case since the receiver of the message cannot consume message in, say two seconds, so I would like to configure a "time to wait before processing message" in PI since PI processes all of the files in folder without waiting another poll interval time if more than one exist.
    Is this possible in PI 7.0 sp16? 
    Regards,

    HI Tarik
    BPM is the solution for this problem. If you are not willing to use BPM other solutions are  Adapter module and Scripts
    You can write adapter module and use the threads mechanism. Thread.sleep can help you achieve this but you need to set this properly.
    Another method is Unix script. Let your actual directory be Dir1 and poll PI to Dir2. Use the script to write files from Dir1 to Dir2 one by one and with time gap. This will work for you.
    If you have PI system on Windows i prefer to go with Adapter module.
    Thanks
    Gaurav

  • FTP-Sender Adapter ignores files with "known filenames"

    Hello experts,
    the scenario is FTP -> XI -> IDOC and we have problems with the polling of the files. In communication channel monitoring everything is working fine, but in the FTP folder some files are ignored, although the communication channel is set up for all *.txt-files.
    My question is, is it possible that the FTP sender adapter ignores files, if it already has processed a file with the same filename? After renaming the files they all were picked up and archived into another folder. How can I configure the communication channel to pick up ALL *.txt-files in the out-folder?
    Best regards
    David

    Hi David,
    What I have observed is, XI always reads files in a certain order (possibly alphabetical or reverse alphabetical). If it finds a file in the source directory that already exists in the archive directory, it will not attempt to read/process the next file (even if the next filename is completely new).
    So, if any of the files in the source directory exist in the archive directory, there is a possibility that certain files may get processed and certain wont.
    Make sure that none of the files that you put in source directory exist in the archive directory (i.e. all the files are new) and see the output. Let me know if this helps.
    PS: I used FTP protocol
    Regards,
    Riyaz

  • FTP sender adapter archives empty files

    Hi.
    I have a strange problem with the ftp sender adapter.
    I receive my file without problems, and the scenario works as it should.
    The problem is with the archiving of my processed file.
    It writes the file fine to the path specified, but it is empty (user has full file permissions)
    The ftp adapter uses content conversion, and I have seen threads in the forum that tells about simular errors. But I have found no solution.
    Hope someone can help here.
    Regards...
    Peter

    File Content Conversion is usually associated with Receiver File/FTP adapters
    and Archiving the source file is an option at the Sender File/FTP Adapter.
    No, content conversion is used both in sender and receiver file/FTP adapters.
    In my case, it is in a sender adapter!
    I'm not sure what you mean when you said "The ftp adapter uses content conversion,..."
    The sender FTP adapter content converts a flat file to XML format!
    Can you let us know the details of your scenario?
    Like who / what is the sender and who/what is the receiver system?
    The scenario looks like this: "FTP -> XI -> RFC", but as mentioned before, the scenario works fine, the problem is in the FTP sender adapter that fails to save the archive file.
    If I try to use the file/FTP sender adapter in "file mode", with the same parameters, the archive file is written just fine!
    Regards...
    Peter

  • FTP Sender Adapter - File Order

    Hi,
    can somebody tell me, in which order files are being read via the ftp sender adapter when using wildcards for the filename ?
    I need to process the files sorted by name. Is there any possibility to get this done ?
    BR,
    Martin

    hi Martin,
    Check this forum discussion.
    Re: FTP Sender Adapter - Processing Sequence
    and check out Praveen reply regarding your query
    regards
    Ramesh P

  • Specifying Additional Files in an FTP Sender Adapter

    Hi,
    Has anyone worked out how to specify additional files in a File/FTP Sender Adapter using the FTP transport protocol? This functionality comes 'standard' in the File/FTP Sender Adapter using NFS transport protocol so that additional files can been included as attachments, however, it doesn't seem to be available when trying to use the FTP protocol.
    Thanks in advance.
    Regards,
    Reuben.

    Yes this is available in only NFS mode check sap help
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/frameset.htm
    Thanks!

  • Prevent ftp sender adapter from tranfering files from subdirectories

    I have a scenario with a ftp sender adapter. In the configuration of the ftp sender adapter I have defined a base directory "/dir" and a file pattern "*". The directory /dir as a subdirectory /dir/subdir. Now the ftp adapter transfers also files from this directory. But I don't want that. Any solution?

    Hi,
    I am not sure whether it is made so intentionally be SAP. However, if you wish to resolve this issue, you can specify a wild card for file names, such as the file extension (for example, *.txt).
    Hope this helps,
    Bhanu

  • FTP Sender Adapter - Processing Sequence

    Does anybody know what the processing sequence of files is when I using a ftp sender adapter? I can only determine this if I use a file sender adapter (NFS).

    Hi,
    in  sender file ( FTP ) adapter:
    when qos  :eoio
    the sequence the msg processess will be in ascending alphabetical order.
    ex: if i have 10 files in a folder
    as per the my requirement all the 10 files are picked up at the same time, then
    the files will be arranged in queue specified in ascending alphabetical order and processed in the same order.
    but, when i use QOS: EO
    the same thing is going to happen right!!
    picks all the files , processess in ascending alphabetical order to xi..
    then what is the use of queue here in eoio???
    on the other hand,
    in  sender file ( NFS ) adapter:
    file will be processed based on the processing sequence( either by date or time ).
    so both EO and EOIO use the processing sequence... then wat is the work of queue here in EOIO MODE.. any way they are processed according to the proccessing sequence parameter.. ???
    Please reply..

  • FTP Sender Adapter for OpenVMS

    Hi,
    did anyone of you use a FTP Sender Adapter on an OpenVMS System?
    If I connect via FTP Client (Dos, Unix Shell or Filezilla) this works fine so far but with XI I receive the following error message:
    Error occurred while connecting to the FTP server "server:21": java.net.SocketException: Connection timed out:could be due to invalid address
    BR Markus

    Hi,
    Check your FTP server Address and the port number. If  you are using SSL / TLS then the port numbers will change.
    <b>Cheers,
    *RAJ*</b>

  • Sender Adapter archiving problem

    Hello All,
                 In the sender adapter channel, we are getting the following error message. The messages are not getting archived in the archive folder that we have mentioned in the Sender adapter configuration in the ID.
    Putting message into send queue failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 36f5f1e6-97a8-41b0-1fb8-b9c2bdbb6008(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPPIXDB.SYS_C00159667) violated .
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id 36f5f1e6-97a8-41b0-1fb8-b9c2bdbb6008(OUTBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPPIXDB.SYS_C00159667) violated
    Could you please let me know the exact problem? And how to resolve this? Thanks.

    Hi there,
    This error is issued if a user tries to insert an already existing value into a column defined unique.
    This error will also be generated if an existing record is updated to generate a duplicate (unique) key. Typically this is a duplicate primary key, but it need not be the primary key.
    Remedy:
    Only one of the following will be appropriate:
    1. Remove the unique restriction.
    2. Change the restriction to allow duplicate keys. An index could be changed to be a non-unique index, but remember that the primary key must always be unique.
    3. Do not insert the duplicate key.
    Cheers'
    Neetesh

  • Getting dynamically a specific file in FTP sender adapter

    Hi all,
    I'm getting an idoc in a BPM and there's a field with a file name, which is the one I have to read in the following step.
    I'm not sure this is possible, but I'd like to hear from the PI community...
    The problem is that in the usual FTP sender comm channel, I have to specify in configuration time the folder and the pattern of the file names to be read. And in my scenario I only know that in execution time (that's possible when the FTP channel is receiver though).
    Thanks

    Oops!! I misunderstood it
    At sender, neither of them would work. In fact, there is no other direct options at sender. You have to specify the filename. As Udo suggested, you have to create multiple channels.
    Still if you could explain your BPM configuration, some solution may turn up. You said you are receiving Idoc in BPM and a file too?
    Regards,
    Prateek

  • FTP Sender Adapter, Empty Archive Files

    Hi,
    When I retrieve files using a FTP sender Communication Channel and I checked the Archive check box (including an existing directory), the file is archived but it does not have any content. It is completely empty.
    The original file contains data and is processed correctly. The original file is a csv and I use FCC to convert it to XML.
    Anybody any suggestions?
    Ron

    Hi,
    The scenario is FTP --> IDOC scenario.
    The config is as follows: (not mentioned = not used)
    Source:
    Source Directory:  /Out
    Filename    File*.csv
    FTP Connection:
    Server: a.b.nl
    Port: 21
    Dataconnection: Passive
    Connection Security: None
    Username: user
    Password: pass
    Connect mode: Per File Transfer
    Transfer mode: Binary
    Processing:
    Quality of Service: Exactly once
    Poll Interval: 60 secs
    Processing Mode: Archive
    Add Timestamp: checked
    Archive directory : /usr/sap/Interfaces/
    File Type: Text
    FCC:
    Documentname: File
    Recordset Name: Lines
    Recordset Structure: Line,*
    Recordset Sequence: Ascending
    Key field type: String (Case sensitive)
    Line.fieldSeparator     ;
    Line.endSeparator     nl
    Line.fieldNames         VBELN, POSNR, RREL
    Best regards
    Ron

  • HTTP Sender Adapter Strange Problem After SP16 Patch!!!

    Hi,
    after upgrading to XI SP 16 I'm no longer able to create HTTP Sender Adapter based Communication Channels. I can create a Receiver Adapter but no Sender since the Sender button is greyed out in the UI. Does anybody have an Idea what could be the problem here?
    Kind regards,
    Heiko

    HI Heiko,
    As stated by bhavesh you cant have a sender http adapter, infact there is no need to have it.
    If you want topost message to the integration engine using http protocol,you can directly send the xml message to the pipeline url of the integration engine.
    http://<host>:<Abap http port>/sap/xi/engine?type=entry
    Yomesh

  • JDBC sender adapter - driver problems

    Hi.
    Iu2019m struggling with a little problem regarding the JDBC sender adapter, querying an Oracle database.
    Iu2019m making a simple SELECT statement, where one of the fields is of the typeu201DTIMESTAMP(0) WITH LOCAL TIMEu201D.
    Making the query in a SQL client works just fine, but in the JDBC sender adapter, it generates this error u201DError during conversion of query result to XML: java.sql.SQLException: Session Time Zone not set!u201D
    Iu2019ve searched for answers on numerous forums, and found one place, where the following where the solution:
    >>> Hi. The issue is that the driver itself needs to have a time zone
    >>> set. You have to call setSessionTimeZone() on the connection object.
    Unfortunately it is a bit hard to call this function in the adapter.
    Any of you guys have an idea what to do?
    I can add, that making a query, where no date fields are selected, works fine in the adapter.
    Regards...
    Peter

    Problem solved...
    Put a conversion (CONCAT, SUBSTR, TO_CHAR, etc.) around the date field you are about to fetch, and it works just fine.

  • JDBC sender adapter polling data more than once within one polling interval

    Hi,
    Our sender communciation channel is polling data twice in one polling interval, hence triggering the corresponding BPM twice.
    The polling interval for the channel is set to 30 mins.
    We dont have an update query and use <test> instead. Currently there is no provision to use an update query in the source system.
    Intermitently the polling happens within an interval of few milliseconds, because of which we are in doubt whether the use of Update query will solve our problem
    Additionaly in the BPM, we have one channel which deletes the data from source system after the processing is complete by the BPM, but the second BPM is getting triggered before the deletion step is being executed in the first BPM.
    Please Advise how we can stop the channel from polling data twice.
    Thanks,
    Merrilly.

    Hi Merrilly,
    Please ty to set an advanced mode option in the table(for sender
    channel configurations) as follows:
    Key name is "clusterSyncMode" and its values are either "scheduler" or
    "none".(both are without quotes and case-sensitive)
    Default value is "scheduler", this means it prevents 2
    messages being generated regardless of 2 server nodes. This is true,
    even if you do not add anything in advanced options table.
    Also are more information about this parameter of file adapter, what
    is the same for jdbc:
    #801926 - XI 3.0 File Adapter: Additional Parameters
    Regards
    SK

Maybe you are looking for