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

Similar Messages

  • 10.1.3.4 - ESB FTP adapter not processing the files in the input directory

    I created a process that reads from a logical inputDir. I migrated the ESB service to another box and created the same adapter connection etc. however nothing really happens in this new environment. In the opmn.log i see the following statements and no other info.
    2008-12-16 14:03:41,994> <INFO> <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
    <AdapterFramework::Inbound> Instantiating inbound part of Adapter Framework instance: OraESB
    <AdapterFramework::Inbound> Adapter Framework instance: OraESB - endpointActivation for portType=Get_ptt, operation=Get
    <AdapterFramework::Inbound> Creating new instance of Resource Adapter oracle.tip.adapter.ftp.FTPResourceAdapter
    <AdapterFramework::Inbound> Adapter Framework instance: OraESB - starting Resource Adapter oracle.tip.adapter.ftp.FTPResourceAdapter
    <FTP Adapter::Inbound> File/FTP Adapter started successfully.
    <FTP Adapter::Inbound> ENDPOINT ACTIVATION CALLED IN FTP ADAPTER
    <AdapterFramework::Inbound> Adapter Framework instance: OraESB - successfully completed endpointActivation for portType=Get_ptt, operation=Get
    <FTP Adapter::Inbound> Connection Created
    <FTP Adapter::Inbound> Connection Created
    The last message "Connection Created" keeps repeating, but no processing occurs. I tried increasing all the loggers to finest. but still nothing happens.
    any idea how to troubleshoot this ? the only difference in the environment is that the new environment has 10.1.3.4 MLR2 and the first one is just plain 10.1.3.4

    Make sure that you modified the oc4j-ra.xml file in the FtpAdapter directory and have put the correct hostname and username and password. The directory structure looks like this //some-directory/oc4j_soa/application-deployments/default/FtpAdapter/oc4j-ra.xml.

  • FTP Adapter duplicate processing of files in Active-Active cluster env

    Hi All,
    We have single active-active cluster environment and we have configured all the HA configurations for Inbound and Outbound operations (except outboundDatasourceLocal). But we faced a situation that the FTP Adapter processed a file twice. This happened when there was a fail-over in oracle database in where SOA-INFRA schema is created.
    Please let me know if anyone faced similar issue and what would be the resolution for this duplication issue.
    Thanks in Advance.

    Hi Vernetto,
    Thanks for your reply.
    I too had opened a ticket with oracle and they are looking into the issue.
    can you please let me know what are the inbound and outbound operation configurations you have specified in the 'outbound connection pools'. Also is there any other specific property you set in jca file?
    one more thing is, we have configured outboundLockTypeForWrite to 'oracle' as we are using the oracle database. but i couldnt see any data in FILEADAPTER_IN or in FILEADAPTER_MUTEX tables. you said you could see data in FILEADAPTER_IN table. so is there any specific property requires to be set which i am missing?
    please suggest.
    Thanks.

  • Need Help in Creating adapter module for SFTP Sender in NWDS

    Hi experts,
    I have a scenario where i should write an adapter module for SFTP sender in NWDS.. need your help in achieving this..

    Hello,
    >>i have followed the procedure of FTP but, adapter is not picking the file
    Make sure u have written proper expression to pick file.
    >>do we have any different adapter parameters for SFTP... the input file is .csv..
    I don't think there are any specific parameters needed for SFTP (but in case u are reading file name in AM then u might have to adjust SFTP namespace)
    Thanks
    Amit Srivastava

  • Sender FTP Adapter - Archive faulty files not working

    Hello,
    We are on SAP PI 7.11 SP 06
    We have a scenario where we are reading CSV files from a FTP location.
    File Sender Adapter is polling the FTP location for CSV files, if there
    is any error during FCC we need to move the faulty file under a
    particular directory on FTP server.
    Archive faulty files tick is click under the communication channel and
    also the required directory is specified, but the functionality is not
    working.
    If there is a faulty file it is just adding a rejected prefix to the
    file and keeping the file in the polling directory. It is not moving
    the file in the rejected directory specified in the communication
    channel.
    Thanks & Regards,
    Rahul Nawale

    Are you trying to archive the file on the same FTP server or a different FTP server? Archiving the faulty file on the FTP server might not have expected results. And if you are trying to archive the file on a separate FTP server, it wouldn't probably be achieved using the simple file adapter functionalities.
    The best way would be to archive the faulty files to an NFS location on your PI server (this will certainly work, even if it's FTP mode) and then use a separate script or PI interface (file tunneling) to move these files from PI server File System to FTP archive location.
    Regards,
    Suddhasatta

  • Need help in file adapter configuration

    Hi,
       i am working on sps13 . while i am configuring the file adapter for sender        communication channel  i got a compulsary field "Queue Name" in processing    
    parameters . what should i make entry in that field ? plz....do reply.
    Thanks in advance.

    Hi Lakhman ,
    The parameter QualityOfService specifies how the Integration Engine should process a message. The following values are permitted:
    1)BE(Best Effort: synchronous processing). If QualityOfService is BE, the client is sent the final status for the processing.
    2)EO(Exactly Once: asynchronous processing with guaranteed execution exactly once). If QualityOfService is EO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    3)EOIO(Exactly Once in Order: asynchronous processing using queues, that is, guaranteed execution exactly once and maintaining the sequence of successive messages). If QualityOfService is EOIO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
    Since u had choosen EOIO ,You must also define a queue name for EOIO:
    XI.QueueId=<QueueName>
    This queue name is used in the Integration Engine to process messages in the same sequence that they arrived in.
    This QueueName can consist of a maximum of 16 characters. If the first 8 characters contain 'SAP_ALE_', these r removed since this value is reserved by SAP and used internally.
    If a value is not specified for QualityOfService , the default value 'BE' is used.
    These r following websites which u wil find helpful:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
    http://documentation.softwareag.com/crossvision/xie311/admin/config.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
    Reward Points if u find it useful.
    cheers!
    gyanaraj
    [email protected]

  • Need help - The network adapter could not establish connection

    hi, I installed sql developer on my standalone PC. I am unable to create a connection. The following error is shown when try connecting:
    IO Exception: The network adapter could not establish connection.
    Should i set some Environment variable? Is there anything else i need to download/install?
    Please help...! I am new to this...

    user11937618 wrote:
    hi, I installed sql developer on my standalone PC. I am unable to create a connection. The following error is shown when try connecting:
    IO Exception: The network adapter could not establish connection.This means that the software being used, was unable to use your PC's networking to establish communication with the database server.
    You need to ask your network admin folk to check your PC and ensure that it is correctly configured for IP networking for your network - valid IP address, valid IP subnet mask, etc.
    You can look at your existing IP configuration in Windows by opening a command console and typing the command "+ipconfig+".
    Once that is done, you need to test connectivity between your PC and the database server. You need the IP address of the server for that and use the "+ping+" command to see if you get a ping echo response from the server.
    If you configure your Oracle client software (e.g. +%ORACLE_HOME%\network\admin\tnsnames.ora+ ) to use a hostname and not IP address, you need to make sure that your PC's IP stack can resolve that hostname into an IP address. Once again the "+ping+" command can be used, but this time using the hostname instead. The output will show the IP address the hostname resolved to.
    All these are basic networking issues - and have nothing really to do with Oracle itself. You first need to get the networking to work on your PC, before attempting to use Oracle client-server.

  • Need help changing an Adaptive RFC Model in WDJ

    Hello All,
    We have an existing application with few custom BAPIs are called. However we added few fields added to the custom BAPI.  We could not figure out how to bring the new fields show up in used Model and context.
    Any Help greatly appreciated.
    Thanks.
    PK

    Hi ,
    The following link help you.
    Importing Models Using the Search Console - Developing Java Web Dynpro Applications - SAP Library
    SAP Library - Development Manual
    Now to call the FM you have to follow the steps:
    1)In NWDS click on models->then right click it select import Adaptive RFC model
    2)Here gave the name of the Model , package etc and the names of the JCo Destinations tht will be needed to call from R/3.
    3)Give the Information abt the R/3 Host and username password of the R/3.Press Next
    4)Now search for the Bapi you want to Use. Select it Press Next
    5) press Finish. You have imported a Bapi from R/3.
    Now you can play around with it according to your requirement..
    You need to create the Context, Views to show the Data of the Bapi.
    Hope this helps you out.
    Thanks & Regards,
    Durga Rao

  • Need help in file adapter file format

    While accessing an exeL (.xls)file as input using file adapter what will be the format of the sample file. If i give .txt then it is not showing any column.

    BPEL cannot read excel files without some custom java code. If you want to do just pass through you can use opaque message type.
    If you need to do transformation your file needs to be text based. So if you convert you xls file to a csv file you will be fine. Renaming the extension is not enough.
    There are many solutions out there for reading excel files.
    cheers
    James

  • Need help in DB adapter

    please help in creating a DB adaptor service using BPEL.
    Send some URL. i am using olite not oracle databse so the typical oracles's example is irritating....

    Sam is right, you don't need to use the dehydration store for you testing. I would also stay away from using olite as the jdbc drivers aren't that flash and you may encounter issues. Oracle XE is a good light weight DB to use, plus it is based on the enterprise edition DB so it can be easily upgraded if possible.
    3rd Party db also supported but require some additional setup.
    http://otndnld.oracle.co.jp/document/products/as10g/101310/doc_cd/integrate.1013/b28994/adptr_db.htm#sthref578
    cheers
    James

  • Need help on FTPS transfer using X509 Certificates

    I am developing a FTPS component in my ASP.Net application.
    We configued the Personal Certificate,Intermediate Certificate and Root Certificate in Server and Client machine MMC console.
    I am stuck in to implement the same as I am getting below error when the the line "using (Stream writer = ftpRequest.GetRequestStream())" is getting executed.
    System.Net Information: 0 : [6876] SecureChannel#65124268 - Certificate is of type X509Certificate2 and contains the private key.
    System.Net Information: 0 : [6876] AcquireCredentialsHandle(package = Microsoft Unified Security Protocol Provider, intent = Outbound, scc = System.Net.SecureCredential)
    System.Net Error: 0 : [6876] AcquireCredentialsHandle() failed with error 0X8009030D.
    System.Net Information: 0 : [6876] AcquireCredentialsHandle(package = Microsoft Unified Security Protocol Provider, intent = Outbound, scc = System.Net.SecureCredential)
    System.Net Error: 0 : [6876] AcquireCredentialsHandle() failed with error 0X8009030D.
    System.Net.Sockets Verbose: 0 : [6876] Socket#19949373::Dispose()
    System.Net Information: 0 : [6876] FtpWebRequest#64456428::(Releasing FTP connection#53218812.)
    System.Net Error: 0 : [6876] Exception in FtpWebRequest#64456428::GetRequestStream - The remote server returned an error: 234 SecurFTP: SSL starting
    at System.Net.FtpWebRequest.CheckError()
    at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
    at System.IO.Stream.Close()
    at System.Net.ConnectionPool.Destroy(PooledStream pooledStream)
    at System.Net.ConnectionPool.PutConnection(PooledStream pooledStream, Object owningObject, Int32 creationTimeout, Boolean canReuse)
    at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
    at System.Net.FtpWebRequest.GetRequestStream()
    System.Net Verbose: 0 : [6876] Exiting FtpWebRequest#64456428::GetRequestStream()
    System.Net Information: 0 : [1320] ServicePoint#797974 - Closed as idle.
    Please help me to solve this issue as it is urgent.
    Below is my sample code:
    public bool FileTransferStatus(FileInfo oFile, string localCertificateNames, bool isFileType, out string statusMessage)
    FtpWebRequest ftpRequest;
    FtpWebResponse ftpResponse;
    try
    ftpRequest = (FtpWebRequest)FtpWebRequest.Create(FTPSite + CurrentDirectory + oFile.Name);
    ftpRequest.Method = WebRequestMethods.Ftp.UploadFile;
    ftpRequest.Proxy = null;
    ftpRequest.UseBinary = true;
    ftpRequest.Credentials = new NetworkCredential(UserName, Password);
    ftpRequest.KeepAlive = KeepAlive;
    ftpRequest.EnableSsl = UseSSL;
    ftpRequest.UsePassive = true;
    if (UseSSL)
    ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(ValidateServerCertificate);
    List<string> listLocalCertificates = localCertificateNames.Split(',').ToList<string>();
    if (isFileType)
    foreach (string localCertificate in listLocalCertificates)
    string currentCertificate = localCertificate.Replace("\n", "").Replace("\t", "").Replace("\r", "");
    X509Certificate certificate = X509Certificate.CreateFromCertFile(System.AppDomain.CurrentDomain.BaseDirectory + currentCertificate.Trim());
    ftpRequest.ClientCertificates.Add(certificate);
    else
    X509Store storeRoot = new X509Store(StoreName.Root, StoreLocation.LocalMachine);
    storeRoot.Open(OpenFlags.ReadOnly);
    X509Store storePersonal = new X509Store(StoreName.My, StoreLocation.LocalMachine);
    storePersonal.Open(OpenFlags.ReadOnly);
    List<string> listSerialNumbers = localCertificateNames.Split(',').ToList<string>();
    foreach (string sn in listSerialNumbers)
    string serialNumber = sn.Trim().ToUpper();
    X509CertificateCollection certificates = storeRoot.Certificates.Find(X509FindType.FindBySerialNumber, serialNumber, false);
    if (certificates.Count == 0) // Not in root store
    certificates = storePersonal.Certificates.Find(X509FindType.FindBySerialNumber, serialNumber, true);
    if (certificates.Count == 0) //Not in personal store
    throw new Exception(string.Format("Certificate {0} not found", serialNumber));
    storeRoot.Close();
    storePersonal.Close();
    X509Certificate certificate = certificates[0];
    ftpRequest.ClientCertificates.Add(certificate);
    //Selection of file to be uploaded
    byte[] fileContents = new byte[oFile.Length];
    using (FileStream fr = oFile.OpenRead())
    fr.Read(fileContents, 0, Convert.ToInt32(oFile.Length));
    using (Stream writer = ftpRequest.GetRequestStream())
    writer.Write(fileContents, 0, fileContents.Length);
    //Gets the FtpWebResponse of the uploading operation
    ftpResponse = (FtpWebResponse)ftpRequest.GetResponse();
    ftpResponse.Close();
    ftpRequest = null;
    statusMessage = "Uploaded successfully";
    return true;
    catch (Exception webex)
    statusMessage = webex.Message;
    return false;

    Hi,
    In .NET, you have built-in support for FTPS in the .NET Framework (see the FtpWebRequest class). However, functionality of this class is severely limited, especially in the SSL/TLS control aspect. The .NET Framework doesn't include any support for SSH or
    SFTP.
    In VCL, you have a selection of free components and libraries that provide FTP functionality. When you add OpenSSL to them, you can get FTPS for free. If you don't want to deal with OpenSSL DLLs, you can use one of the commercially available libraries for
    SSL and FTPS support. Again, there are no freeware SFTP components available for .NET.
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • GT70 - Need Help with "downgrade" adapter card!

    I've got a GT70 with the "Super-Raid-0" configured dual 128GB SSD msata cards in the adapter, but one of them just gave out, after about 10 months. Now, what I'd like to do is to get that "adapter card" which are in the non-SSD version of the GT70 model and install a regular 2.5" HardDrive. My question is, WHERE can I get that card and WHAT is the EXACT name of that part? I've been searching all over but no use. :(
    I've found 2 pictures for illustration.
    #1: What I've got and want to replace (looks like this):
    (please add http // www . because this forum won't allow links)
    techpowerup.com/163682/msi-gt70-superraid-solution-pictured-tested.html
    #2: What I WANT and want to replace the original dual-ssd with (3rd image shows it)
    (please add http // www . because this forum won't allow links)
    forum-en.msi.com/index.php?topic=168945.msg1235587#msg1235587
    CAN ANYONE HELP ME WITH THIS PROBLEM?
    Thanks!

    For a tiny little adapter card I don't want to send in this gigantic and very heavy unit, because it would cost around a $100- with express delivery and insured. Once I did that and then it took about 6 weeks to get it back in worse condition than it was before! No thanks, I just want a simple adapter card that probably cost around $10-$15, which I can install in 60 seconds and/or a replacement for the SSD if possible, since it is well within the warranty period. If they honor it good, if not, I won't be surprised at all. Unfortunately I've had terrible experiences with this company in the past, but I don't want to get into that. That's not why I'm here.
    Yes, you are right, the 2 msata Super-Raid are very fast and very enjoyable, however, as it is obvious by now, they have a very short life-span. I've never, ever had any of my laptops' HD to fail on me before, and I've had quite a few over the years, Acer, Toshiba, then a bunch of Sonys, so I'm still betting on the "good old" regular 7200 RPM disks that run for ever rather than this SSD thing that craps out on me in 10 months.
    And if the Read/Write speed is slower, well, as long as they work, I don't care.
    I already sent in a repair request and specifically asked for both the replacement of the broken SSD with serial number as it is indicated during the boot-up, as well as the adapter card for regular HD installation, so I'm hoping I'll get some response next week. But I only want to send in the failed mSata "chip", IF they are willing to replace it. That could fit into a protective envelope instead of a large box and would cost $1 to send! :D
    I've already checked the prices of mSata chips, but they are pretty expensive. A 128GB SSD costs $120 and a regular 750GB 7200rpm HD about $80, so I would choose the regular, reliable and much larger HD over this SSD thing if I had to make a choice.
    Meanwhile I'm still searching all accessory and parts sellers' websites for this particular adapter, but so far nothing! :(

  • Need help to terminate the local process chain

    hi
    Master DATA attribute local process chain was triggered twice in our daily master process chain. it is showing twice in the logs.
    Can any one help us to terminate the one replica of the running master data attribute local process chain.
    Thanks much in advance
    Raj
    Edited by: Gangaraju Eegu on Dec 10, 2008 3:03 PM

    Hi,
    Please check in execution selection any periodic job is running twice, so remove there.Double click on first node i.e. start and > Chamge Selections> Periodic Values.
    Or
    Find any event is triggering twice in a day?. and tehn cancle it.
    Thanks
    Reddy

  • Need help in idoc adapter

    Hi ,
    this is Surya.
    can we use idoc adapter at receiver side (i.e receiver- sap Ecc6.0 ) like that normal sap system (4.7)
    with regrads,
    surya

    Hi,
    File to IDOC (Creating PO)
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    File-to-Idoc
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    File To IDOC - Part1 (SLD and Design)
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&
    Troubleshooting File-to-IDOC Scenario in XI
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/main&
    File to IDOC, trouble shooting
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    No message in found in XI in IDOC to FILE scenario
    Regards,
    Phani

  • Need help adding FTP functionality

    Is there a built in class for FTP functionality with the jdk 1.5
    I am sure there are thousands of threads on this subject but when I searched for related threads the first ten pages were all about ftp errors.
    we are manually FTPing files from several remote servers to one main server, then using java to further act on these files.
    I know there is a way to program java to FTP the files automatically.
    Does anyone know a link to a good related thread?
    Does anyone know where to find some free code to do this. I can't pay the $ for the commercial packages out there. I would like to code my own client but do not know where to begin.
    Anybody?

    Here's a little demo I have lying around:
    import org.apache.commons.net.ftp.*;
    * Download Jakarta's net-jar:
    * http://jakarta.apache.org/site/downloads/downloads_commons-net.cgi
    public class FTPDemo {
        private boolean isConnected = false;
        private FTPClient client;
        public FTPDemo() {
            connect();
            listFiles();
            disconnect();
        private void connect() {
            String server = "ftp.yoursite.org";
            String username = "yourlogin";
            String password = "yourpassword";
            client = new FTPClient();
            try {
                client.connect(server);
                client.login(username, password);
                isConnected = true;
            } catch (Exception e) {
                e.printStackTrace();
                isConnected = false;
        private void disconnect() {
            if(isConnected) {
                try {
                    client.disconnect();
                } catch(Exception e) {
                    e.printStackTrace();
                isConnected = false;
        private void listFiles() {
            if(!isConnected) return;
            try {
                String[] files = client.listNames();
                for(int i = 0; i < files.length; i++) {
                    System.out.println(files);
    isConnected = true;
    } catch(Exception e) {
    e.printStackTrace();
    isConnected = false;
    public static void main(String[] args) {
    new FTPDemo();

Maybe you are looking for