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

Similar Messages

  • SAP PI FTP sender adapter not working with SAP ECC over Itanium

    Hi,
    We have been running normally SAP PI 7.0 SP14 with no issue for a while.
    We are now in the process of migrate the SAP ECC system from PA risc to IA platform. We are performing some tests between SAP PI and SAP ECC to check that the platform migration is not affecting us in any way and we have found that FTP adapter sender is not working anymore (receiver is working as usual).
    We place some files in the new ECC system and when PI goes to retreive the files it is like it can not read anything. It gives no error but it does not pick any file. This is not happening with the old platform.
    Does anyone have any idea?
    Thanks a lot for your help
    Diana

    Hi,
    I am using FTP connection and for the receiver it is working fine.
    Thanks
    Diana

  • Problem in File Sender Adapter in File with quotes

    Hi experts.
    We're having a problem in File Sender Adpapter.
    We've configured the adapter with FCC. We use the fieldSeparator = ; to convert the file to xml.
    The problem arises when between two ; appears a quote. For insantce in this line:
    HUMALVAL MASCOTAS S.L.;"AV/DE EUROPA SN;P.IND.ALCORCO;28922;ALCORCON;40.349968;-3.847452;
    The adapter shows this error:
    More elements in file csv structure than field names specified.
    If the line was (without "):
    HUMALVAL MASCOTAS S.L.;AV/DE EUROPA SN;P.IND.ALCORCO;28922;ALCORCON;40.349968;-3.847452;
    everything would work correctly.
    How could we solve this?
    Thanks in advance.
    Regards.

    Hi,
    Please use  xml.enclosureSign=u201C in your sender FCC.
    Hopes this helps to you.
    Regards,
    P.Rajesh

  • 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

  • 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

  • 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!

  • Send a flat file with fixed lengths to XI 3.0 using a Central File Adapter?

    Hello,
    I'm wondering if someone have experience setting up conversion for different record structures. The example shown,
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter,
    (in a greate way) only picture one kind of structure.
    How should it be done if the file would contain
    10Mat1
    20100PCS
    The first record structure has columns
    ID(2),Material(10)
    The second redcord structure has columns
    ID(2),Quantity(3), Unit of messure (3)
    Brgds
    Kalle
    Message was edited by: Karl Bergstrom

    The configuration would be like follows:
    Content Conversion Parameters:
    Document Name: <your message type name>
    Document Namespace: <your message type namespace>
    Document Offset: <leave empty>
    Recordset Name: <any name>
    Recordset Namespace: <leave empty>
    Recordset Structure: row1,,row2,
    Recordset Sequence: any
    Recordsets per Message: *
    Key Field Name: ID
    Key Field Type: String
    Parameters for Recordset Structures:
    row1.fieldNames           ID,Material
    row1.fieldFixedLengths    2,10
    row1.keyFieldValue        10
    row2.fieldNames           ID,Quantity,UOM
    row2.fieldFixedLengths    2,3,3
    row2.keyFieldValue        20
    Instead of row1 and row2 you can choose any name.
    Regards
    Stefan

  • 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

  • Copy a file with same filename using XI - module experts please help!

    Guys,
    Felix Jeyareuben had an excellent blog on how to copy a binary file with XI.
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    It is a shame by the way that such a simple thing has to be this complicated in XI, but that's another question...
    So after I created the EAR file and successfully deployed the modules on our XI server, I got the following file adapter error, when I was trying to use it:
    Sender Adapter v2727 for Party '', Service 'BS_TA_XI_DEV':
    Configured at 2006-11-30 14:04:15 EST
    History:
    - 2006-11-30 14:10:00 EST: Error: java.lang.ClassCastException
    - 2006-11-30 14:10:00 EST: Processing started
    Can you give me any clues what could have gone wrong?
    This is the first module I deployed so I might have messed up something simple, but I cannot figure this out.
    Also how can I debug this?
    Your help would be much appreciated.
    Thanks a lot,
    Viktor Varga

    > Moorthy,
    > My issue is not so much about the filename, but an
    > encrypted (binary) file that I just want to copy from here to there.
    Do it like in the mentioned blog, but don't do any mapping. That will be fine.
    > Michal,
    > In my adapter I have the following:
    > 1)  localejbs/xi_file_module/ReadBinaryBean
    >  (LocalEnterpriseBean)
    > )  localejbs/CallSapAdapter
    >                         (LocalEnterpriseBean)
    > ine.xml file I have this:
    > <enterprise-bean>
    >   <ejb-name>ReadBinaryBean</ejb-name>
    > <jndi-name>xi_file_module/ReadBinaryBean</jndi-name>
    >   <session-props/>
    > enterprise-bean>
    Check your EAR if there are any libs from the adapter framework and delete them if necessary.
    After deployment check in your visual administrator if your EAR is available.
    Regards
    Stefan

  • 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>

  • Issue with FTP Adapter ListFiles files with spaces in the filename

    Hi
    I have an FTP adapter that does a ListFiles of all the files in a directory. It comes back and everything works fine however it removes all spaces from the filename meaning when I do the GET afterwards this fails as it is a different filename.
    The filename is a0eQ0000000wJVdIAM~1~ technote316.TIF note the space between ~ and technote.
    When a ListFiles is done I get the following request response in BPEL execution:
    <messages>
    <InvokeGetFilenames_FileListing_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/ftp/CommonServices/SalesforceNotifcationServices/GetFileNameFromFTPServer"/></part></InvokeGetFilenames_FileListing_InputVariable>
    <InvokeGetFilenames_FileListing_OutputVariable><part name="filelist" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filelist size="1" xmlns="http://xmlns.oracle.com/pcbpel/adapter/ftp/CommonServices/SalesforceNotifcationServices/GetFileNameFromFTPServer"><file><directory>/salesforce/006Q0000007yKcd</directory><filename>a0eQ0000000wJVdIAM~1~technote316.TIF</filename><lastModifiedTime>1305507120000</lastModifiedTime><creationTime>0</creationTime><size>1906643</size></file></filelist></part></InvokeGetFilenames_FileListing_OutputVariable></messages>
    This then follows with a GET that fails:
    <messages><input>
    <InvokeGETfile_SynchRead_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></InvokeGETfile_SynchRead_InputVariable></input><fault>
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /salesforce/006Q0000007yKcd/a0eQ0000000wJVdIAM~1~technote316.TIF to be processed was not found or not available or has no content
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>550 /salesforce/006Q0000007yKcd/a0eQ0000000wJVdIAM~1~technote316.TIF: No such file or directory</detail></part><part name="code"><code>550</code></part></remoteFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages>
    I'm guessing its some use of the jca.message.encoding I can't find anything that really explains this though. Just the http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_propertys.htm link.
    Any help would be greatly appreciated.
    Thanks

    Hi PG,
    Is your private file in the form of Java Keystore (.jks)? I had used .ppk file and it was a success.
    If it is .jks in your case, try using the same password for private key as of keystore file (.jks). I hope you're not supplying any PASSWORD in the Adapter properties.
    Regards,
    Neeraj Sehgal

  • File Sender Adapter - Dinamic Source Directory and Filename

    Hi Experts,
    I have to receive in XI a file and depeding of some info, put it in diferent directories with diferent fieldnames.
    In receiver File Adapter we can set the directory and fieldname dinamically by ABAP-CLASS mapping, but not in Sender.
    I've read Michal's blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    and sap help
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    But, I can't find Adapter-Specific Message Attributes in my File Adapter...:-) I've checked SP version is SP16, where are my Adapter-Specific Message Attributes?
    How can I set Directory and Fieldname at runtime for Sender File Adapter?
    Please help...
    Thanks all in advance,
    Regards.
    Urtzi.

    Hi Nilesh,
    Your threath is not about my issue...
    Answering to other friends, what I want is not to write p.e.: '/server/dir/' in each File Sender Adapter Channel, and put it with any other way looking some 'customizing' or checking a condition.
    The problem is that frecuently in the Company changes servers and we have to enter to the Directory and change every Channel one by one...We would like to reduce the maintain of the Channels with a mapping, variable, customizing table...or something similar. Do I explain?
    I don't know if its possible but I had the hope...:-)
    Thanks all.
    Urtzi.

  • 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

Maybe you are looking for