FTP Adapter (Sender)

Hi Experts,
The usual scenario and setting for an FTP adapter (sender) to trigger an event if there are no files being picked up? If it's possible, how will I do it?
Cheers,
R-jay

Hi Neetesh,
I have my existing configuration the adapter finds a file, it will just delete the file since the target system is the one creating a log (let say) every 1min. My configuration is set to every 2mins to check the folder and if there's a file, the adapter just delete the file. Then if the adapter doesn't find any of the file, then it will create a target output to another directory informing that no files are found. I only create 1 log file and just append the new log (overwrite the file) 
Sample (output): message.log
Server A: Critical. No file has been found
Server B: Critical. No file has been found
Server C: Critical. No file has been found
Someone will be looking onto this file and they will be creating like an automated alert.
Note: I'm not using the Alert Framework of SAP PI since it will only trigger on application level of PI. This will like monitor an external application Server.
Cheers,
R-jay

Similar Messages

  • FTP Adapter - Send (Target)

    Hi,
    I have interconnect 9i standalone installation on HP-UNIX with most of the adapters installed.
    The integration scenario/flow of the data is:
    Source: DB Adapter
    Target: DB Adapter and FTP.
    I have multiple targets in the above scenario. The integration trigger point is change in a table of the Source DB Adapter.
    The integration works fine from Source DB to Target DB. Whereas the second target adapter FTP is not receiving the data/creating a file as mentioned in the parameter file.sender.file_name_rule in the adapter.ini file. I have included the settings of my adapter.ini below:
    application=trg_consultants_ftp
    bridge_class=oracle.oai.agent.adapter.technology.TechBridge
    ota.type=XML
    ota.send.endpoint=file://localhost/shahul/ftp/out
    file.sender.type=ASCII
    file.sender.file_name_rule=emp_%TIME%.xml
    the other settings is as default. Could any one help me why i am not able receive the file. The APP view of the Ftp adapter was created using a DTD. I exported the PL/SQL code for the application and got a empty package definition. Hence i didnt create the package for Ftp.
    Thanks,
    Shah

    Hi,
    I defined the message type as XML (ota.type=XML). I thought i may have to create the PL/SQL package for FTP adapter too - like a DB Adapter. But now my integration is working and both the DB and FTP adapter are subscribing the message from the hub. Actually i had some of the receiving end property enabled and then i commented them and restarted the adapter then it started working.

  • FTP Adapter Sender: Dynamic configuration of directory

    Hello all,
    I need to read files from an FTP server.
    The source directory contains the current date and hence changes everyday.
    That means:
    Today it's          /home/user/out/20100519/ready/
    Tomorrow it's gonna be     /home/user/out/20100520/ready/
    and so on.
    Any idea how to set this up?
    Thanks & regards
    Rainer

    >
    Rainer Zilch wrote:
    > Hello all,
    >
    > I need to read files from an FTP server.
    > The source directory contains the current date and hence changes everyday.
    >
    > That means:
    > Today it's          /home/user/out/20100519/ready/
    > Tomorrow it's gonna be     /home/user/out/20100520/ready/
    > and so on.
    >
    > Any idea how to set this up?
    >
    > Thanks & regards
    > Rainer
    /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
    using dynamicconfiguration cant you make the directory dynamic.
    All you need is to have the current date as part of the string i.e /home/user/out/<YYYYMMDD>/ready/

  • How to get outbound ftp adapter file name

    All,
    I am writing an ftp adapter sending out files. The file name is defined as po_%yyyyMMDD%.xml format. However, I need to save the filename into a database after each file is sent out. How could I get the filename after invoking this service? It is on soa 10.1.3.3.
    I tried to create a filename variable based on outbound message type and pass that long in the invoke header. But cannot get the name back. Any idea?

    Hi,
    Go thro' the URL:
    http://abhishek-soablog.blogspot.com
    Cheers,
    Abhi...

  • FTP Adapter error: SLDAccess

    Hello everyone!
    When XI picks up an XML using the FTP adapter (sender), I get this error message:
    <b><i>Error: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.</i></b>
    in the Comm. Channel monitoring. No message is processed in the Integration Engine.
    Would anyone know what could be causing this error?

    Hi,
    Check if your FTP adapter is working.
    Also check connection between XI and FTPSERVER.
    Regards,
    AKshay Jamgaonkar.
    Reward points if find useful.

  • FTP adapter not picking files

    Hi
    I trying to get files from a remote FTP server
    but the FTP adapter configured is not able to pick up files from the remote folder
    using
    soa 11.1.1.3
    filezilla as FTP server
    +<Sep 5, 2011 5:32:56 PM GMT+05:30> <Error> <oracle.soa.b2b.transport> <BEA-00000+
    +0> <[IPT_FileRecMonitorError] Error in ftp or file receiver monitor.>+
    FINE:  Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using mcf
    for credentials
    FINE:  Ftp Adapter Managed Connection Created
    FINE:  Ftp Adapter Adding Event Listener
    FINE:  Ftp Adapter Connection Created
    +FINE:  Ftp Adapter Using locale=[null] for ftp server+
    +FINE:  Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Wed Aug 31 1+
    +9:40:00 GMT+05:30 2011] for [Aug 31 19:40], time offset=[0]+
    +FINE:  Ftp Adapter Using locale=[null] for ftp server+
    +FINE:  Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Fri Sep 02 1+
    +8:23:00 GMT+05:30 2011] for [Sep 02 18:23], time offset=[0]+
    +FINE:  Ftp Adapter Using locale=[null] for ftp server+
    +FINE:  Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Fri Sep 02 1+
    +8:33:00 GMT+05:30 2011] for [Sep 02 18:33], time offset=[0]+
    +FINE:  Ftp Adapter Using locale=[null] for ftp server+
    +FINE:  Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Mon Sep 05 1+
    +3:13:00 GMT+05:30 2011] for [Sep 05 13:13], time offset=[0]+
    +FINE:  Ftp Adapter Using locale=[null] for ftp server+
    +FINE:  Ftp Adapter FtpTimestampParserImpl::parseTimestamp returned [Mon Sep 05 1+
    +3:45:00 GMT+05:30 2011] for [Sep 05 13:45], time offset=[0]+
    FINE:  Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@8
    +68852+
    can someone help me on this
    -Regards
    adiKsystime

    Hey Naresh
    thanks for your earlier reply
    but I have no luck yet
    soa_server logs show
    FINE:  Ftp Adapter Clearing Event Listeners
    FINE:  Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using apps
    erver credentials
    FINE:  Ftp Adapter Managed Connection Created
    FINE:  Ftp Adapter Adding Event Listener
    FINE:  Ftp Adapter Connection Created
    FINE:  Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1
    +47dc09+
    FINE:  Ftp Adapter The candidate set size in matchManagedConnection [1]
    FINE:  Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using apps
    erver credentials
    FINE:  Ftp Adapter Connection Created
    FINE:  Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1
    d469b0
    FINE:  Ftp Adapter The candidate set size in matchManagedConnection [1]
    FINE:  Ftp Adapter FTPManagedConnectionFactory::getPasswordCredential using apps
    erver credentials
    FINE:  Ftp Adapter Connection Created
    FINE:  Ftp Adapter Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@1
    +040f85+
    FINE:  Ftp Adapter FTPManagedConnection::destroy called, closing physical socket
    and No luck yet in picking up the remote files
    regards
    adiKsystime

  • Strange Problem in File Archiving - Sender FTP Adapter

    Hi,
    The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server.
    File is archived properly without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files) not the original file with data.
    I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
    Please suggest. Thanks in advance.
    Regards,
    Joe.

    Hi,
    I've already tried archiving the file to the FTP server itself, it's working fine (even with FCC). But, when I try to archive it to the XI server (read from FTP and archive at XI server), it's writing empty file to the XI archive directory. I'm using PI 7.0 SP 14. My sender FTP adapter dtls follow
    Data Connection: Passive
    Timeout Secs: 500
    Connect Mode: Permanently
    Transfer Mode: text and binary tried both
    File type: text and binary tried both..
    Looking out for a solution.
    Thanks,
    Joe.
    Edited by: Joe on Jun 19, 2008 8:07 AM
    Edited by: Joe on Jun 19, 2008 8:08 AM

  • Error with Archiving Faulty Source File in Sender FTP adapter

    Hi All,
    I have configured a Sender FTP adapter with Processing Mode as Archive.
    I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
    We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory  XXXXX/Fail .
    I have unchecked the option Archive Files on FTP server.
    But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory  XXXXX/Fail .
    In RWB it is showing the error
    Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
    Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
    This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
    Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
    If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
    I have already unchecked the option Archive Files on FTP server.
    Please help......
    I am on PI 7.11
    Regards
    Henery H

    Hi Henery,
    Check the below thread, this should help you to fix the issue.
    FTP adapter: exc. 550 : No such file or directory
    Thanks,

  • Configuration FTP Adapter XML - Sender

    Hello:
    I need to configure dynamically the IP, directory and file name of the FTP through a Sender file/FTP adapter; in other words, I need to set those parameters in the XML message. The IP address, directory and file name of the FTP are obtained in the first message and match with another, which is sent to the adapter (communication channel) to get the data of a file.
    I would appreciate your help.
    Thanks a lot!

    Hi Julio,
    Configuring dynamically the parameters for FTP sender adapter is not possible, due to two reasons,
    1. FTP sender is a pull adapter, so you cannot set parameter (in runtime) and fetch the data.
    2. FTP sender is a async adapter
    Try to have a soap sender with AXIS framework (thought i have never tried, but this looks promising).
    Regards
    Suraj

  • Sender FTP Adapter not working with certain name

    Hello,
    We're facing the next problem within XI.
    We configured a sender FTP adapter within the central adapter engine. This adapter is configured correctly however for some reason it is not picking up any file from the FTP server.
    Changing status to inactive-> active again all kinds of modes and configs we tested.
    However when copying this non-working adapter to a new one with a different name (Configuration is exactly the same!!!!!) and use this one in the sender agreement it worked immediately.
    Somebody else faced similar problems and managed to solve it because for this error we don't want to adjust our naming conventions....
    Thanks,
    Emile

    Hi Emile,
    This could happen when AE cache is not getting updated.
    Goto SXI_CACHE.
    Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
    Regards,
    Anish

  • Prerequisites for Sender and Receiver FTP adapter

    Hi Experts,
    I am new to PI and configuring simple file to file scenario. I need to know the prerequsites for sender and receiver FTP adapter. Scenario is System A -> XI -> System B .
    What I want to know is:
    1> What ports need to be opened?
    2> Any service that I need to activate?
    3> Do I need to install FTP server in any of the machine?
    If I have missed something, please add.
    Br,
    Nilz

    Hi,
    1> What ports need to be opened?
    mentioned in below link as said its 21.
    2> Any service that I need to activate?
    No
    3> Do I need to install FTP server in any of the machine?
    THere are two ways by which u can pick ur file.
    1) NFS by which u can put the file on XI appplication directory and pick up ur file.
    2) FTP u have to put ur file on FYP server and XI will pick up the file from there. U can use freeware FTP and install it on ur Desktop search on goolge u will get ti FTP installtion.
    refer the below configuration requirement for FIle adapter.
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    ALso refer the end to end file to file scenario.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/flatFILETOFLATFILE&
    chirag

  • FTP Adapter batching multiple files in one send

    Hello,
    I'd like to set up a process in XI to allow me to group all files into one batch message and send the group all in one send every thirty minutes.  This is an FTP adapter.
    Do I need to work through a BPM to do this?  Is there a good blog or forum topic on this?
    Thanks,
    Matt

    That is exactly what I was looking for.  Thanks.
    I will test with the BPM and if the performance becomes and issue I will try your suggestions.
    Thanks,
    Matt

  • Sender FTP Adapter (file transfer w/o mapping)

    Hello everyone!
    Is there a way to configure a Sender FTP Adapter such that it simply picks up a file in an FTP folder then moves it to another FTP folder without changing any data (no mapping needed)?
    I tried doing it, but the Sender Agreement requires you specifiy an Outbound interface (which is not needed in this case). Would anyone of you know a workaround to this?
    Warm regards,
    Glenn

    Hi
    Use dummy interface name. But that should be same in ID objects
    Check this
    How to send any data (even binary) through XI, without using the Integration Repository
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 29, 2008 9:48 AM

  • No Source Directory on Sender FTP Adapter

    Hi Guys,
    I am using a sender adapter to poll an external FTP Server. The adapter is able to see the server fine.
    My problem lies in this:
    The company in charge of the FTP server has put a restriction disallowing the 'cd' command on the ftp server.  Now in the sender ftp adapter, the source directory is a mandatory field and therefore if nothing else, I need to put a '.' into the source directory.
    This in effect will do a cd . when it logins into the ftp server.  It is here that I get an error because command cd is disallowed.
    Does anyone know how I can prevent the sender ftp adapter from automatically doing a cd command i.e. have no source directory?
    Thanks,
    Miguel

    Hi,
    I think it is not possible with file adapter .
    Have a look into this SAP note -821267 Question no 27,34.
    It may give some inputs
    Regards,
    Moorthy

  • Sender File/FTP Adapter - Matching Input to Message Type

    Hi,
    I have a sender file/ftp adapter which is using content conversion to generate an XML document from the contents of a text file. This works fine and when I go into the SXI Monitor I can see the XML document I expect:
    <ns:DN_360BalanceExtract xmlns:ns="http://xxx">
    <ns:RN_360BalanceExtract xmlns:ns="http://xxx">
    <BalanceRecord>
       <SerialNo>xx10000780</SerialNo>
       <RegNo>A1</RegNo>
       <LocationTicketIssued>ALBERT ROAD SOUTH</LocationTicketIssued>
       <DateOfOffence>2008-02-15</DateOfOffence>
       <TimeOfOffence>13:38</TimeOfOffence>
       <OffenceDescription>xxx</OffenceDescription>
       <CurrentStateOfCase>RE-OPENED; CLOSED IN ERROR</CurrentStateOfCase>
       <OutstandingBalance>70.00</OutstandingBalance>
       </BalanceRecord
    <BalanceRecord>
       <SerialNo>xx90001245</SerialNo>
       <RegNo>S849KMR</RegNo>
       <LocationTicketIssued>ALBION PLACE</LocationTicketIssued>
       <DateOfOffence>2011-03-01</DateOfOffence>
       <TimeOfOffence>10:59</TimeOfOffence>
       <OffenceDescription>xxx1</OffenceDescription>
       <CurrentStateOfCase>xxx</CurrentStateOfCase>
       <OutstandingBalance>60.00</OutstandingBalance>
    </BalanceRecord>
    </ns:RN_360BalanceExtract>
    </ns:DN_360BalanceExtract>
    Having created the XML document from a text file I now wish to use the XML as input to a web service. This will of course involve mapping the XML document to a message in the inbound interface. Question is how do  associate the XML generated with a Message Type in the outbound interface. Do I need to make sure the Document or Recordset names match that of a Message Type ?
    Cheers,
    PaulC.

    Hi Paul
    The content conversion will create a document like that if you insert DN_360BalanceExtract as Document name, "http://xxx" as namespace.
    RN_360BalanceExtract will probably be your recordset, with its namespace.
    More information about content conversion on sender file adapter:
    http://help.sap.com/saphelp_nw04/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    I'm not sure what you mean by bound. If you mean that PI has to execute mapping you created for that DN_360BalanceExtract message type, you need to associate DN_360BalanceExtract to a message interface and then create all configuration objects and choose that message mapping when you create the interface determination object.
    Regards,
    Giuseppe

Maybe you are looking for

  • Problem with printing pdf file HP 845c windows 7

    When I am printing a pdf file it is not printed well, the ink is grey and it is difficult to read.

  • Black screen when running MIDlets on a real phone (motorola V330)

    Hello. I'm developing a simple Java ME application as a part of my senior project in college. Up until this point I've been working with emulators and everything works fine. Yesterday I tried to upload and test my application on my old phone - Motoro

  • Managing iTunes Preferences

    Good afternoon. We are managing our students' preferences via Workgroup Manager, but we have a problem with iTunes. There is one Preference, 'Check for iTunes updates automatically', which we cannot seem to be able to manage. Looking at the iTunes pl

  • Used Quad G5 Issues

    Hi everybody. I am looking at picking up a used Quad core G5 which will be used for video editing. Are there any known issues that I need to keep a look out for? Thanks in advance for any help. Brian

  • Problem with iweb after iLife '08 update

    I updated to iLife 08 and now as I click to open iWeb, it asks for domain name. I have a working website/domain on imac that I can access, but there are no files that seem to satisfy. Help! iweb and my domain were working just fine prior to update. I