FTP Adapter Doubts

Hi,
The custumer's been ussing XI 3.0.
i have some doubts about FTP Adapter
--When the DELETE option is selected -> What does "Successfully processed files are deleted" exactly means???
-- whats happend fi i define a mask to get files from FTP( for example xi.*) and the DELETE option is selected:
for example: the FTP gets 5 files;but a new file was saved in the FTP. when XI call the Delete command, delete also the NEW file or just the 5 files getted previously?
is there any documentation that refers about?
Thanks
RP

Hi,
"Successfully processed files are deleted" exactly means
Means the files which are processed successfully in Xi are deleted as per the processing mode option set at adapter level..
if you select mask and define delete then the files which are processed in XI only will be deleted...
New file created will not be deleted unless its processed by XI...
HTH
Rajesh

Similar Messages

  • OSB error while generating business service for FTP adapter Sync Get File

    Hi All
    I am trying to generate a business service from SOA Suite JCA FTP adapter Sync Get File, but i am getting this exception for no reasons (Rest operations list file, get file and put file are working)
    Invalid JCA transport endpoint configuration, exception: java.lang.NullPointerException     Unknown ALSB Conflict.
    Is this a bug in eclipse, can any body help me. Thanks
    Sorry Forgot to mention eclipse version...
    Eclipse Platform
    Version: 3.6.2
    Build id: M20110210-1200

    Ok,
    bcoz of this issue, i had to code the entire interface in OSB console. It runs fine in OSB console (i was able to test it successfully).
    Is this a bug in eclipse or only i am facing this issue? Has anybody tried to create a business service from JCA FTP Get Synchronous jca file?
    <adapter-config name="FTPReadMOMFileOnRMSDB" adapter="FTP Adapter"
         wsdlLocation="../wsdl/FTPReadMOMFileOnRMSDB.wsdl"
         xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
         <connection-factory location="eis/ftp/RMSDBFtpAdapter" />
         <endpoint-interaction portType="SynchRead_ptt"
              operation="SynchRead">
              <interaction-spec
                   className="oracle.tip.adapter.ftp.outbound.FTPReadInteractionSpec">
                   <property name="DeleteFile" value="true" />
                   <property name="PhysicalDirectory" value="/MOMFiles/output" />
                   <property name="FileName" value="*" />
                   <property name="FileType" value="binary" />
              </interaction-spec>
         </endpoint-interaction>
    </adapter-config>
    One more doubt? The PhysicalArchiveDirectory path can be on the FTP server something like: /MOMFiles/archive. Or do i have to use the Put operation to move it to /MOMFiles/archive directory. Currently OSB console and eclipse do not accept FTP path for this parameter and want me to specify a local directory on server. Thanks

  • File Polling is not working in FTP adapter

    Experts,
    Configured FTP adapter should poll the file from the FTP server which is in active mode .But this is not happening as expected. This feature was not available in Oracle soa 10g
    http://download.oracle.com/technology/tech/soa/soa_best_practices_1013x_drop3.pdf
    they say :
    Does the FTP Adapter Support the ACTIVE Mode of Connections?
    No, for security concerns the FTP adapter supports PASV (passive) only.
    Do they have not change this feature in Oracle soa 11g.
    Your thoughts will be very much appreciated.
    Thanks

    I doubt if the ftp path is not given correctly. Can you try this.
    1. if you gave logical_file_path try giving the actual file path or vice versa and try.
    2. having the highest level of logging enabled (development). You should see some error in the logs. Is this on linux or windows, if linux search is case sensitive
    hence search for 'rror' without 'e' as you donot know the case it would be in.
    3. last option try retiring the process and then turn it on. This works sometimes to pick the file

  • Passing payload values to FTP adapter properties

    Hi
       We are on XI 3.0 SP 13 and we have a requirement as follows :
    We want to use XI purely as a dynamic ftp service.It has 3-4 static locations from which it picks up files from. The target details onto which it ftps the files are dynamic i.e the hostname, uname,type of transfer etc are to be looked up from a db table - in other words, these ftp destination details are to be looked up during mapping using a mapping lookup API and then the ftp adapter properties are to be set dynamically .
    Question is : can we set these ftp adapter properties like hostname, uname etc dynamically from mapping ? If not, what alternatives do we have to achieve this ? Or is this doable in SP14 onwards ?
    I have seen a lot of threads on setting this ftp adapter properties dynamically - including suggestions for writing a JAVA module, proxies etc -
    WE are on SP13 - what is the package - class and API details that are to be accessed - if we want to achieve this using a JAVA module ? ( if at all we have to go that route )
    Any quick suggestions, pointers is appreciated as we are in a time crunch to do a POC. Thank you for your time.

    Hi,
      I doubt if we could set the file parameters dynamically.
    In case the number of target locations are small, say, 4 or 5... we could achieve this through conditional receiver detemination. In order to do this, we would need to know the receivers in advance.
    Regards,
    Smitha.

  • Zero byte files not transferred with FTP Adapter

    All,
    I am seeing that zero byte files are not being transferred using FTP Adapter (SFTP type). Is there a known bug around this? Please respond if anybody have seen this behavior and resolved this issue. I am using 10.1.3.3.0
    Thanks,
    Dipal

    Thanks Marc,
    I still have doubt if that is the case. When I tested the same from 10.1.3.3.1 windows platform and FTP being windows OS zero bytes files transferred OK. Do you think this is to do with OS or SOA version?
    Thanks,
    Dipal

  • BPEL FTP adapter

    Hi everyone!
    Is there anyone who can tell me where I can find some information about the usage of the FTP adapter included in BPEL PM 10.1.2.
    Thanks!

    Hi!
    By the using of the beta FTP guide I have solved my doubts about the configuration of the adapters for getting and putting files on different FTP server.
    But during the execution of the process I have noticed a strange thing in the BPEL server console. It seems to be a “great” delay between the activation of the process after the deploying and the effective transferring of files from server1 to server2. I mean, for example, that if I deploy the process at 9,07AM the first transfer begin at 9,28AM, about twenty minutes after and so on for the other istances.
    The situation is that:
    The polling frequency is fixed to 60 seconds;
    The Minimum file age is fixed to 0 seconds;
    The files on server1 have a minimum age of about 2 minutes (and have an extension of type .txt);
    The instances are initiated automatically because I have checked the “create instance” box in the invoke component configuration parameters.
    Initially I think that the delay was due to the difference between my pc-time and the server1-time but modifying my pc-time I have obtained only a little improvement.
    Could it be due to any activation or scheduling parameter in some BPEL file or it is probably a synchronization problem between my pc and server1?
    I bag your pardon if the message is so long but I hope to have success in explaining the problem!
    Thanks,
    Busno.

  • Error while deploying a process with FTP Adapter

    Hi All,
    I am using JDev 10.1.3.3 and SOA 10.1.3.3
    I am using FTP Adapter to get a file from a remote location in a empty Process.
    I have checked delete files option and using logical directory.
    While deploying i am getting the below error.
    A problem occured while connecting to server "XXXX" using port "XXXX": bpel_APACSHPREQ940PassThroughBPELOB_1.0.jar failed to deploy. Exception message is:  ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "APACSHPREQ940PassThroughBPELOB", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    Please help me out....
    Regards
    PavanKumar

    Hi Krishna,
    Not Working
    <definitions
    name="GetPSOJapanPassThroughFile"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/GetPSOJapanPassThroughFile/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/GetPSOJapanPassThroughFile/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:opaque="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    >
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterInboundHeader.wsdl"/>
    <types>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns="http://www.w3.org/2001/XMLSchema" >
    <element name="opaqueElement" type="base64Binary" />
    </schema>
    </types>
    <message name="Get_msg">
    <part name="opaque" element="opaque:opaqueElement"/>
    </message>
    <portType name="Get_ptt">
    <operation name="Get">
    <input message="tns:Get_msg"/>
    </operation>
    </portType>
    <binding name="Get_binding" type="tns:Get_ptt">
    <pc:inbound_binding />
    <operation name="Get">
    <jca:operation
    FileType="ascii"
    LogicalDirectory="GETPSOPTFILE"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    DeleteFile="true"
    IncludeFiles="PSO.*\.dat"
    PollingFrequency="6"
    MinimumAge="0"
    OpaqueSchema="true" >
    </jca:operation>
    <input>
    <jca:header message="hdr:InboundHeader_msg" part="inboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="GetPSOJapanPassThroughFile">
    <port name="Get_pt" binding="tns:Get_binding">
    <jca:address location="eis/Ftp/APACFtp" UIincludeWildcard="PSO*.dat" />
    </port>
    </service>
    <plt:partnerLinkType name="Get_plt" >
    <plt:role name="Get_role" >
    <plt:portType name="tns:Get_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    Working
    <definitions
    name="GetPSOPassthroughFile"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/GetPSOPassthroughFile/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/GetPSOPassthroughFile/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:opaque="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    >
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/" location="ftpAdapterInboundHeader.wsdl"/>
    <types>
    <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/"
    xmlns="http://www.w3.org/2001/XMLSchema" >
    <element name="opaqueElement" type="base64Binary" />
    </schema>
    </types>
    <message name="Get_msg">
    <part name="opaque" element="opaque:opaqueElement"/>
    </message>
    <portType name="Get_ptt">
    <operation name="Get">
    <input message="tns:Get_msg"/>
    </operation>
    </portType>
    <binding name="Get_binding" type="tns:Get_ptt">
    <pc:inbound_binding />
    <operation name="Get">
    <jca:operation
    FileType="ascii"
    LogicalDirectory="GetPSOFile"
    ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec"
    DeleteFile="false"
    IncludeFiles="PSO.*\.dat"
    PollingFrequency="6"
    MinimumAge="0"
    FileModificationTime="FileSystem"
    ModificationTimeFormat="4,18,yyyyMMddHHmmSS"
    OpaqueSchema="true" >
    </jca:operation>
    <input>
    <jca:header message="hdr:InboundHeader_msg" part="inboundHeader"/>
    </input>
    </operation>
    </binding>
    <service name="GetPSOPassthroughFile">
    <port name="Get_pt" binding="tns:Get_binding">
    <jca:address location="eis/Ftp/APACFtp" UIincludeWildcard="PSO*.dat" />
    </port>
    </service>
    <plt:partnerLinkType name="Get_plt" >
    <plt:role name="Get_role" >
    <plt:portType name="tns:Get_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>

  • Getting filename in FTP Adapter in BPEL

    How to retrieve the filename read by the FTP adapter in ora-bpel?

    Just figured out how to do this.
    1. Create a variable of type 'InboundHeader_msg' defined in 'ftpAdapterInboundHeader.wsdl'.
    2. Reference this in the 'Adapters' tab of the FTP adapter receive activity.

  • Getting filename in FTP Adapter in ESB

    I am trying to get the filename on an inbound FTP adapter in an ESB. I've followed the directions I have found, by following these steps:
    1. The namespace xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions" is automatically generated in the xsl file.
    2. Create a variable in the xsl file, with value ehdr:getRequestHeader('/fhdr:InboundFileHeaderType/fhdr:fileName','fhdr=http://xmlns.oracle.com/pcbpel/adapter/file/;'). Let's give it the name INFILENAME.
    3. Reference the variable in some expression in the xsl file: $INFILENAME
    4.Set UseHeaders="true" in the FTP inbound wsdl file
    When I do this in a file adapter, I can use the value. When I do this in an ftp adapter, no value comes back.
    Any ideas?

    Yes, that did it, thanks. I had a typo:
    getRequestHeader('/fhdr:InboundFtpHeaderType/fhdr:fileName,'fhdr=http://xmlns.oracle.com/pcbpel/adapter/ftp/;')
    which should have had "FTP" in upper case. The correct code is as you stated:
    getRequestHeader('/fhdr:InboundFTPHeaderType/fhdr:fileName,'fhdr=http://xmlns.oracle.com/pcbpel/adapter/ftp/;')

  • Retaining the FileName in the Receiver FTP adapter

    Hi experts,
    I have a situation here, were i need to retain the FileName in the message header in the receiver FTP adapter.
    I have tried using variable subtitution but seems the FileName is not supported in variable substitution.
    Please help
    Thanks

    Hello,
    if you need file name to be retained in the receiver adapter from the sender side. then u can do that by dynamic configuration using adapter specific message attributes, check this blog for details-
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    if you dont have a mapping in your interface to use dynamic configuration, then you can do it via adapter module also- have a look here, /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    regards,
    francis

  • Using relative path for in file/ftp adapter

    Hi All,
    How to have a relative path for file/ ftp adapter's inbound/outbound operation?
    Example: Consider $ORA_HOME = /home/oracle --> This environment variable can be different on different machines
    i want to drop a file in to $ORA_HOME/folder1/folder2 (Or poll for a file).
    <partnerLinkBinding name="FTP">
    <property name="wsdlLocation">FTP.wsdl</property>
    <property name="out_dir" type="LogicalDirectory">What do i write here???</property>
    <property name="retryInterval">60</property>
    </partnerLinkBinding>
    if i cant configure this in partner link section or in activation agent sction, how else do i achieve this?
    i am using 10.1.3.* version.
    Thanks in advance.
    Roshan.

    You can achive it using the deployment scripts if the directory is changing on the basis of the environment
    If you want to change at run time than you can use the jca properties to set using the variables at runtime.
    Regards,
    Ajay

  • Need Help on FTP Adapter Archival Process

    Hi Guru's,
    I implemented FTP Adapter for Inbound Operation to read the file from inbound directory and after reading the file should be archived in Archival Directory and Delete the file from directory from inbound directory.
    In my case file is successfully picked from inbound directory and records inserted in to database table. File is not Archiving in Archival Folder and File deleted from Inbound Directory. Here I need to Archive the files in Archival Folder.
    Thanks in Advance
    Could you please help me in this regard and Please provide pointers to me

    <property name="UseRemoteArchive" value="true"/>
    Set this property to "true" to notify the Oracle FTP Adapter that the archival directory is on the same FTP server. If set to "false", the Oracle FTP Adapter uses a local file system folder for archival.
    for more Information here to go : http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/adptr_propertys.htm#CHDEDJEA
    Regards,
    MS Raghava

  • Process TIFF file from FTP server using File/FTP adapter

    Hi,
    I have a requirement to process a scanned document TIFF file from a directory on an FTP server using the File/FTP adapter and process through XI into a Web Service via a receiver SOAP adapter.
    My question is can the file/FTP adapter be used to process the TIFF file into XI from an FTP server ? Also, what settings need to be made on the file adapter to allow this file to be processed into XI ?
    Thanks in advance
    Colin

    hi colin,
    TIFF is type of image file, it can be converted to binary using java mapping
    refer this pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    regards
    Ramesh P

  • FTP Adapter - ModificationTimeFormat  -issue

    Hi,
    We are using FTP adapter to poll a file from FTP server. We neither have an option to delete or archive files from that FTP remote server hence we are using "FileModificationTime" option. When we use this option, polling adapter errors out with ---
    "Could not get file modification time for file :/testfile.txt. Verify that the values for the "ModificationTimeFormat" activation parameter are correct.Ensure the time format pattern and filename begin index and end index are specified according to the specific FTP server.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
         at oracle.tip.adapter.ftp.inbound.FTPSource.getTimestamp(FTPSource.java:1100)
         at oracle.tip.adapter.file.inbound.FileList.isMinimumAgePeriod(FileList.java:462)
         at oracle.tip.adapter.file.inbound.FileList.ignoreFile(FileList.java:497)
         at oracle.tip.adapter.ftp.FTPClient.populateNlstResults(FTPClient.java:918)
         at oracle.tip.adapter.ftp.FTPClient._listFiles(F"
    Below is the synopsis of log file -
    <2010-04-01 16:21:53,026> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Host test.ftp.server FTP command: MDTM /PGP BAM OUTBND UKFSBAM
    <2010-04-01 16:21:53,078> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTP Command: MDTM, reply:
    500 command not understood
    <2010-04-01 16:21:53,078> <WARN> <default.collaxa.cube.activation> <File Adapter::Inbound> FTPClient.getMDTM(): unexpected 500 is encountered.
    <2010-04-01 16:21:53,078> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Host test.ftp.server FTP command: QUIT
    <2010-04-01 16:21:53,129> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTP Command: QUIT, reply:
    221 Goodbye.
    <2010-04-01 16:21:53,130> <ERROR> <default.collaxa.cube.activation> <File Adapter::Inbound> Could not get file modification time for : PGP BAM OUTBND UKFSBAM
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Control socket being read by [JCA-work-instance:FTP Adapter-27]
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Sending event: 1 with: oracle.tip.adapter.ftp.FTPConnection@f20ee14
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTPManagedConnection::destroy called, closing physical socket
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Clearing Event Listeners
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> Error retrieving polled files.
    <2010-04-01 16:21:53,130> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound>
    ORABPEL-11430
    Error in listing files in the remote directory.
    Unable to list file in remote directory.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:470)
    at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:234)
    at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:254)
    at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:144)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: ORABPEL-11400
    Can someone please help.
    Thanks,
    Phani

    The FTP server you're connecting to does not understnad the MDTM command the FTP adapter is configured to use in order to obtain the files date/time:
    <2010-04-01 16:21:53,078> <DEBUG> <default.collaxa.cube.activation> <File Adapter::Inbound> FTP Command: MDTM, reply:
    500 command not understood
    Try using one of the other File Modification Time options in the FTP Adapter wizard such as Directory Listing or File Name Substring

  • Issue with SAP PI FTP Adapter

    Hi All,
    We are seeing an issue with the FTP Adapter Communication Channel in SAP PI 7.1. When the communication channel is connecting to a FTP Server and if the connection request timeout ( ex: SFTP Server down ) we see a connection error .
    However the overall communciation channel status doesnot refelct it and it is still in GREEN status. The status being wrong doesnt raise an adapter CCMS alert. Also we are seeing that the communication channel stops all connection attempts after the failure for that communication channel.
    Wanted to check if anyone has seen or encountered the issue and how did you get past the problem.
    Thanks in advance..
    Arunava

    Hi,
    Could you please let me know whether it is sender communication channel or receiver ?
    Also please check below.
    1. Java messaging system queues are free or hanged ?
    2. Please mention time out paramter in the channel.
    3. Did you try Start/Stop the channel.
    Please get back to me.
    Regards,
    Sachin
    Edited by: Schin_Sharma on May 26, 2011 9:39 AM

Maybe you are looking for

  • Regarding absence of notification workflow

    hi all experts,       i have a issue on workflow. suppose sender leaves a approval.now recipient decide whether he will approve it or not...absence of notification workflow.now i have to do that if recipient's absence reach beyond 5days,approval will

  • How to re-store backgup from the flash card?

    Hi My phone is Nokia 5800. After update to 20.x I found some contacts don't have voice labels anymore - I'm unable to call them via voice recognizer. The Nokia Care said it's possible to restore these labels after soft / hard reset. I did a backup on

  • Help - Cant download CS5.5 Master collection

    Greetings So I decided to try eto use the newest CS5.5 Master collection package, and decided to try the trial version. however when i attemp to download it (through the download manager ofcause) It just informs me that there is not enough space on t

  • Where to install fonts for boris in FCP 7?

    I have a folder with  a particular font.  I would like to load the font so I can use it in Boris, FCP7  Where do I put the fonts?

  • Reset Safari - Does Reset Safari securely dump all internet data from the computer?

    It doesn't sound like "Reset Safari" securely dumps the cache, history and other internet files and then overwrites the disc with useless info so special data retrieval programs can't resurrect the deleted data? Is this the case? So how do you secure