FTP adapter features..

Hi all,
We have a requirement during FTP processing...Is it possible to define a TMP directory and a WORK directory like in most FTP tools..We need to keep a file in a TMP directory for a certain time and then move it into the WORK directory upon which it will be FTP'ed...
Also is it possible to know the possible record count during an FTP run through the FTP adapter...
Any help is appreciated...
Ken

Hi Ken,
one way to do it (not sure if very effective - it depends) would be to use an integration process inside.
you put a file in w TEMP directory and use ftp adapter to move the file to another location (to your WORK dir):
/people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
and then the file would get picked by another adapter from the work dir...
inside the first BPM you could set WAIT step so that you can:
>>>We need to keep a file in a TMP directory for a certain time
but this is just an idea:)
Regards,
michal

Similar Messages

  • Oracle AS B2B - Various Features in FTP Adapter (FTPS, SFTP...)

    As part of the Oracle AS B2B 10.1.2.0.2 FTP adapter offering following features are supported. FTP Protocol forms part of the Generic Exchange Plugin.
    1. Basic FTP
    Identification of Trading Partner Criterion is slightly different for Internal and External Delivery channel, even though identification is based on the "Name" in both of this cases.
    a. For External Delivery Channel.
    i. Identification of Trading Partner is based on the name of the file and the name shoud follow the patterns as nameOfTP_UniqueID.
    ii.Identification of Trading Partneris based on the name of the Directory. To enable this it is required to set
    oracle.tip.adapter.b2b.allTPInOneDirectory= True as part of tip.properties setting.
    b. For Internal Delivery Channel.
    The identification of Trading partner and the Document is based on the name of the file and should follow the pattern as
    TradingPartner_DocumentType_Revision_msgType_msgId_replytoMsgID_extension.xml
    2. FTPS : FTP OVer SSL
    Download any of the FTP server which can be configured to FTPS such as FIlezilla. Configure FTP server for FTPS as per the FTP server documentation.
    Oracle AS B2B Configurtion:
    The SSL configuration is drived by the value of parameter "Channel mask"
    1. Depending on the mode of data transfer i.e Active/Passive , specify the data port for Active configuration and no data port for passive mode. Control port is there for both the mode and by default B2B considers this to be 21, there is a need to
    mention it for any deviation.
    2. Receiver Channel Mask (Host) : Depending on whether No channel encrypted, data channel to be encrypted , Control Channel to be encrypted or Both control and Data channel to be encrypted specity none, Data, Control or Both accordingly.
    2. Sender Channel Mask (Trading Partner) : Depending on whether No channel encrypted, data channel to be encrypted , Control Channel to be encrypted or Both control and Data channel to be encrypted specity none, Data, Control or Both accordingly.
    Refer to the user guide for FTP Transport configuration.
    3. SFTP(New Feature available as part of latest B2B patch # 6353697)
    SFTP implementation has been provided for Oracle B2B 10.1.2.0.2 version. This enables B2B to send and receive payload files over SFTP (SSH FTP) protocol.
    SFTP protocol support added for both external trading partners and internal applications communications. The naming conventions of the payload files are in-line with File and FTP adapters.
    Proxy support provided (HTTP)
    Authentication Support :
    Password based authentication – username/password combination authentication
    Public key authentication – authenticating the identity based on the public key
    create a key pair using OpenSSL keygen tool and the Public key need to be installed in the server. and the private keys fully qualified file location has to be specified in Private Key file and the passphrase has to be provide in Prive Key Pass phrase.
    If the passphrase is present in the FTP configuration, B2B engine considers the password based Authentication else key based Authentication otherwise it is key based Authentication.

    Hello Ramesh
    I want to configure FTPS using FTP adapter in Oracle BPEL,I am not configuring any wallet as of now.I am gettig following error while invoking the Put Operation of FTP adapter.
    <messages><input><Invoke_1_Put_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Zebra_CRM005ProcessRequest"><Zebra_CRM005ProcessRequest xmlns="http://xmlns.oracle.com/Zebra_CRM005">
    <input>test</input>
    </Zebra_CRM005ProcessRequest>
    </part></Invoke_1_Put_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
    </part><part name="summary"><summary>file:/vol2/opt/oracle/product/10.1.3.1/soa/bpel/domains/default/tmp/.bpel_FTP_WRITE_NEW_v2008_09_24__47502_0c1781b2ce7e4236dffaaa7cabd43a0c.tmp/A.wsdl [ Put_ptt::Put(Zebra_CRM005ProcessRequest) ] - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server.
    Unable to send file to server.
    ; nested exception is:
         ORABPEL-11429
    Error sending file to FTP Server.
    Unable to send file to server.
    Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space.
    </summary>
    </part><part name="detail"><detail>null</detail>
    </part></remoteFault></fault></messages>
    Please help in configuring FTPS in oracle FTP adapter.
    Thanks
    Satendra Pare
    [email protected]

  • FTP Adapter

    Hello all,
    I'm having some problems to receive files from ftp adapter of oai.
    The FTP Adapter don't give any error when it start, but it simple don't do anything when i put a file in the ftp receive directory. (I test the same adapter to send and it's working fine)
    Do anyone have any tip?
    One other thing is: How can i change the filename that the FTP Adapter of oia give to the files that he sends?
    Thanks,
    Antsnio Trindade
    PS: Please email me to:
    [email protected]
    or
    [email protected]

    Antonio,
    please see my comments below.
    Thanks,
    Markus
    Markus Spohn
    Senior Product Manager
    9iAS Integration
    Server Technologies
    Oracle Corporation
    200 Oracle Parkway m/s 2op393
    Redwood Shores, CA 94065
    USA
    Work: +1-650-506-9977
    Cell: +1-415-806-1405
    Fax: +1-650-506-7406
    e-Mail: [email protected]
    Hello all,
    I'm having some problems to receive files from ftp adapter of oai.
    The FTP Adapter don't give any error when it start, but it simple don't do anything when i put a file in the ftp receive directory. (I test the same adapter to send and it's working fine)
    Do anyone have any tip?I'd need more information about the configuaration of the FTP adapter.
    One other thing is: How can i change the filename that the FTP Adapter of oia give to the files that he sends?In the current version of the FTP adapter, the naming convention of the file is as follows
    <ftp adapter name><instance number>-<time stamp>
    With the next patchset for 9iAS InterConnect 9.0.2, which is expect to be released within the next week or so,
    we'll provide aditional functionality for the FTP adapter. That will include features that allow users to specify custom
    file names and naming conventions.
    Thanks,
    Antsnio Trindade
    PS: Please email me to:
    [email protected]
    or
    [email protected]

  • 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

  • Chunk read in FTP adapter

    Hi,
    I am working on JDev 11.1.1.3. I am using ftp adapter and im trying to use chuck read feature. On invoking the web service im facing the following error.
    Is any jars needs to be added for making this functionality to work in ftp adatper.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.ftp.outbound.ChunkedInteractionSpec due to: Missing class: oracle.tip.adapter.ftp.outbound.ChunkedInteractionSpec Dependent class: oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker Loader: sun.misc.Launcher$AppClassLoader@339120262 Code-Source: /home/oracle/Oracle/Middleware/Oracle_SOA1/soa/modules/oracle.soa.adapter_11.1.1/adapter.jar
    Thanks,
    Arun

    Hi,
    Below is my .jca file
    <adapter-config name="FTP_SRD_OUT_CSV" adapter="Ftp Adapter" wsdlLocation="FTP_SRD_OUT_CSV.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/Ftp/secure_TextFileImport" adapterRef=""/>
    <endpoint-interaction portType="GetDataImportCSV_ptt" operation="GetDataImportCSV">
    <interaction-spec className="oracle.tip.adapter.ftp.outbound.ChunkedInteractionSpec">
    <property name="PhysicalDirectory" value="/DataImport/IN/"/>
    <property name="PhysicalArchiveDirectory" value="/DataImport/Archive/"/>
    <property name="DeleteFile" value="true"/>
    <property name="FileName" value="dummy.txt"/>
    <property name="ChunkSize" value="1"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    Thanks,

  • Capability of FTP adapter (PI 7.1 ehp1)

    Hi Experts,
    Is it possible for the FTP adapter to pick up some files (flat file) without using File Content Conversion and then send it to another system and write that file but some contents will be changed?
    Ex.
    from system A (using FTP)
    AAAA.:.BBBB.:.CCCC.:.DDDD.:.EEEE.:.FFFF.:.GGGG
    to system B (using FTP)
    AAAA.:.XXXX.:.CCCC.:.DDDD.:.EEEE.:.FFFF.:.GGGG
    if its possible how can this be done in PI 7.1 ehp1?
    Regards,
    R-jay

    There is no additional feature added in file adapter in PI 7.1 for reading flat files. The standard way is still  FCC as in earliar versions. Otherwise you need to create adapter module to read the file.
    Regards,
    Sunil Chandra

  • What is the max file limit for FTP adapter that uses FileIoInteractionSpec

    Hi,
    I know that Oracle provided some new features in 10.1.3.4 using which we can use the file and ftp adapter to move files in a more efficient way
    http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/adapters.htm#CHDGFAAB
    Essentially it involves modifying the WSDL to use the new InteractionSpec="oracle.tip.adapter.file.outbound.FileIoInteractionSpec"
    Now my question is, what is the file size limit which can be transferred using this.
    I have tried with 20 mb file, it works. But I want to know the upper limit.
    Thanks,
    Amit

    Tried with 31 mb file.
    It successfully delivers the file but....
    The instance never completes successfully in the BPEL Console. If I open the audit tab, it shows the following message
    There is a system exception while performing the BPEL instance, the reason is "JTA transaction is not present or the transaction is not in active state. The current JTA transaction is not present or it is not in active state when processing activity or instance "7,200,001". The reason is The execution of this instance "7200001" for process "TestFTPLimit" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information.. Please consult your administrator regarding this error. ". Please check the error log file for more infromation. Please try to use bpel fault handlers to catch the faults in your bpel process. If this is a system exception, please report this to your system administrator. Administrator could perform manual recovery of the instance from last non-idempotent activity or dehydration point.less
    ORABPEL-02182
    JTA transaction is not present or the transaction is not in active state.
    The current JTA transaction is not present or it is not in active state when processing activity or instance "7,200,001". The reason is The execution of this instance "7200001" for process "TestFTPLimit" is supposed to be in a jta transaction, but the transaction is not present or in active state, please turn on the application server transaction debug logs to get more information..
    Please consult your administrator regarding this error.
         at com.collaxa.cube.engine.CubeEngine.store(CubeEngine.java:5514)
    So does anybody know how to get over this.
    I understand that sync read is a sync operation, so obviously it was going to timeout, as this transfer took around 4 minutes for me. But then, isnt this a bug from Oracle's side

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • How to configure FTP Adapter for multiple endpoints?

    Scenario: I have multiple ftp endpoints (5-15) and depending on some business logic, I have to send data to the right destination. With default ftp adapter configuration, I have to add a n adapter connection factory reachable via JNDI for each destination. But I want to read the different endpoints dynamically from e.g. a database and configure my ftp adapter at runtime. That's because the endpoints do change quite often.
    Interconnect had such a feature: FTP Sender: The FTP adapter supports sending to multiple FTP endpoints. This feature provides flexibility for sending messages to different remote FTP servers.
    Any ideas on that for SOA Suite?
    Thanks,
    Torsten

    For more documentation please send a mail to [email protected]

  • File size restriction on FTP Adapter (GET)

    A customer has deployed a BPEL process that we had created that uses the FTP Adapter to download (GET) files. The customer is reporting that when they try to download a large file (about 800 MB in size), the process does not seem to kick in for more than one hour. At this point I don't know how good or bad the network speed is and how long a FTP download will take for a file of that size. But before looking into that, wanted to know if there is any restriction on how big a file can be for it to be downloaded by the BPEL FTP Adapter. If not, is there some way to find out what is wrong with the downloading or to know to progress of the FTP GET?
    The user guide talks about increasing the value of transaction-config timeout in server.xml for the File Adapter. Is this applicable for FTP Adapter also and will it work if I increase this?
    Thanks in advance for your attention.
    Jay

    Thanks for the pointer. The processes are deployed on a 10.1.3.5 instance.
    Of the info I found in that article, only the following seemed applicable:
    53.2.1 Setting Audit Levels from Oracle Enterprise Manager for Large Payload Processing
    I can ask the customer to turn off auditing if it is on. But I am skeptical that this will resolve this issue.
    The following seem to be applicable only to 11g version and I am not sure if they have any corresponding options in 10.1.3.5 (please let me know if I am mistaken):
    1. 53.2.4 Using Adapter Support for Streaming Large Payloads
    2. 53.2.6 Processing Large Documents in Oracle B2B
    Section 53.3.1 Opaque Schema for Processing Large Payloads says the following:
    There is a limitation when you use an opaque schema for processing large payloads. The entire data for the opaque translator is converted to a single Base64-encoded string. An opaque schema is generally used for smaller data. For large data, use the attachments feature instead of the opaque translator.
    Based on your experience, has the FTP Adapter ever been used to download files of 800MB or larger size on a 10.1.3.5 instance? I would like to know if there is any insurmountable system limitation with this approach or is it just a question of proper configuration or is this a bug that the FTP adapter product team can look at. I assume the attachment feature is not available in 10.1.3.5.
    The remaining sections don't seem applicable to the the customer scenario.
    Can you please explain what ODI is?
    Appreciating your input,
    Jay

  • Simple Questions about ESB and ftp adapter.

    We have the following Business Scenario:
    We have a partner company that provide us a ftp server with some files. We need to transfer these files from this server to other server, we don't need to read the file's content, we just need transfer the files.
    We are planning to use ESB in order to implement this solution but we have the following questions:
    Is it possible use the ftp adapter in order to transfer the files?
    Is there any example available about (Schema is Opaque feature) on a ftp adapter?
    Thanks
    Ramiro Ortiz

    Thank you very much for your reply.
    . I am trying to construct a FTP ( get) adapter with which I would like to do a simple FTP transfer from /var/out directory server xxx.oms.com (say) to a directory /home/in on the server bos1.oms.com (say) could not figure out this in jdeveloper 10.1.3.3 ( do i need upgraded jdeveloper?). The esb server and control exists on server bos1.oms.com. While constructing the adapter in jdeveloper it asks for physical directory? Is this the directory where it will the read the file from? How do I specify if the directory exists on the different server.
    is it something like xxx.oms.com:/var/out
    Please let me know.

  • FTP Adapter File Size Limit

    Hi,
    Is there a limit on file size for FTP 'put' operation in BPEL/ESB FTP adapter for the file in ASCII format?
    For File adapter polling the limit is 7 MB unless Debatching feature is used I think.
    Thanks

    There used to be but in 10.1.3.4 the restriction has been lifted but there are some restrictions. If you have File / Ftp input and File / Ftp out put you can use the MOVE functionality
    http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/adapters.htm#CHDHJGHG.
    If you are using DB adapter this won't work and the 7MB file limit exists, although this is really streatching it. I wouldn't go above 1MB. Oracle Data integrator is a good option for this kind of pattern.
    cheers
    James

  • FTP Adapter On in a Clustered Environment

    Hi everyone,
    I noticed that in a clustered environment (3 servers) an FTP Adapter using the “File Modification” feature to get files will get the file 3 times. Is there some configuration that can be done to stop that from happening?

    Try adding Singleton property to adapter and set it as TRUE.
    For reference check this blog - Mark's Blog: File Adapter in Oracle SOA 11g cluster environment

  • FTP adapter failing sometimes, msg:Error connecting to the OAI Repository

    Hi,
    I have imported a dump due to curropt metadata definition. The import was successful without any warning/error.
    I have recreated the event , but when I am testing the same, getting following error in the FTP adapter, though the adadpter is started successfully, connecting to hub /repository, still trowing below errror when it translates a file:
    Sometimes it works when the adadpter is killed & restarted.
    Ususally happening when a new event is created & run for the first time...
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    <A N = "do_no">428997</A>
    <A N = "mdo_no">
    </A>
    </AO>
    </AO>
    </AO>
    </B>
    </MSG>.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    Message linked list has 0 elements.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    FileReceiver.sendResponse() completed.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    FileReceiver.receive() is invoked.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    The message queue is empty.
    Mon Oct 03 17:18:45 SGT 2005: Initializing connection to the Repository...
    Mon Oct 03 17:18:46 SGT 2005: Connected to the Repository.
    Mon Oct 03 17:18:46 SGT 2005: Error connecting to the OAI Repository. Please make sure that the hub database and the OAI Repository are started properly. Once everything is started properly, the connection will be automatically re-established. However, if you have provided incorrect parameters concerning your hub database or the OAI Repository during installation of this Adapter, please stop the Adapter, fix the information and restart.
    oracle.aob.repository.aobRepositoryCartridge.RepositoryException
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    Any pointers on this will be a great help for me.
    Regards,
    MOhit

    In same context, what I observed is that the FTP adapter throws above error if a file is send again for translation...ie; when i try to use the same file for testing putingit in FTO dir , FTP adapter hangs throwing above error.
    Even after few runs of other files.
    Is it something related to the security feature of the product which prohibits sending the contents of message if the same contents are send previously?
    Actullay I had never faced such issue before & use to do the testing with same file itself.
    oai_agent_error has following entry in internalid column:
    MetadataManager_RepositoryConnectionErrorWithoutOID
    When I kill the adapter, the same msg is picked up by the subcribing adadpeter(dbadapter) & puts the data into the table.
    Tough I m fixing the above issue as below:
    1- kill the FTP adapter
    2- remove its entries in componentinfo table.
    3-deleting all rows in oai_hub_queue.
    4- stop other adapters.
    5- Stopping & restarting the repository again.
    Still not sure whether error throwing by adapter is expected functionality in iStudio, or something is missing in the setting done in my setup?
    Regards.
    Mohit

  • Passing parameters dynamically to an FTP adapter

    Hi All
    We have a requirement to pass the FTP location to the FTP adapter dynamically based on a small check condition.
    We have used the following XML fragment to pass the ftp location from the assign statement instead of specifying it in the FTP adapter
    *<EndpointReference xmlns="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">*
    *<Address> FTP Address </Address>*
    *</EndpointReference>*
    In the "Assign" activity this is mapped to the respective partner link, which is the ftp adapter
    The "FTP address" gives the address to which the file has to be put into.
    Can this FTP address be provided to this "Assign" activity dynamically or is there any other method for the same?
    The solution must be such that further addition of conditions and mainly FTP locations must be easy.

    http://darwin-it.blogspot.com/2008/03/configuration-of-ftp-synchronous-get.html can help you. You can't change the jca:address="<ftp_conn_factory>" but you can change few parameters like host, port, username and password.
    If you just want to change the directory details or so, such feature has been introduced in 10.1.3.4. Please visit http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/adapters.htm#BCFJAGIF, refer to section 11.4.2.1. You can define header variable for Adapter invocation in Invoke Activity. Hope this will help you.

Maybe you are looking for