Receiver FTP Adapter Problem

Hello. My scenario is: A file is sent from R/3 via RFC, then from XI to an outside system using the FTP adapter. The RFC part is working, but I've encountered some errors with my FTP adapter. The file is not being created in my directory at all and this is the error message I'm getting:
- 2006-10-11 08:28:20 CDT: Error: Message processing failed: Exception: ftp access error: com.sap.aii.adapter.file.ftp.FTPEx: 552 transfer failed
Can anyone help, please?
Thank you.
Nicole

Hi Nicole,
          A few things you might check are:
1) The Ip address given is correct.
2) The login details given in File receiver adpater are right
3) The server is running when you make the transfer, that is 'Allow logins' status is checked in case of guild FTP server or similar servers.
4) The destination directory is given as "/root" with "/" slash.
5) All the firewalls are turned off.
6) File processing mode is 'Create'.
Cheers,
Ashish

Similar Messages

  • 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

  • Dynamically generate terget directory in receiver FTP adapter

    Hi guys,
    I'm trying to set up a scenario where the file will be placed into a terget directiry based on values from the incoming message. I can't use variable substitution as my target message does not contain the needed value, so I'm trying to set up a dynamic configuration in an UDF. Unfortunately, this is not working.. Any ideas, what could be wrong? The receiver FTP adapter always just takes values from it's configuration. It doesn't help when I try to change it in mapping.
    This is the java map code in the UDF:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, a);
    conf.put(key2, "tfilename.txt");
    return "";
    Thanks a lot for any help,
    Olian

    Hi,
    use below code it will work fine
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    String a=conf.get(key);
    String b=conf.get(key1);
    var1 = a+b; ;
    return var1;
    map this udf to root element of your receiver structure.
    Regards,
    Raj

  • 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

  • When to use "Use Temporary File" in receiver FTP adapter

    Hi Experts,
    I have nerver used "Use Temprary File" as the "Write Mode" in receiver ftp adapter.
    I want to knwo under what kind of requirment we should use this option?
    Thanks in advance.
    Best Regards,

    Hi Aditya
    Usually it's advisable to use "use temporary file" as write mode when you want to avoid your file to be picked up by receiver while PI channel is still writing it.
    Obviously larger the file, more chances you have that this issue could occur.
    If you select the "use temporary file", XI will write the content to a temporary file with another name of your choice and only once writing has finished it will rename it to the actual name setup in the "file name scheme".
    Regards,
    Giuseppe

  • Receiver FTP Adapter File Size Splitting

    Hi,
    I am receiving an IDoc from R/3 into XI.
    I then map this IDoc into an xml file and use a receiver ftp adapter to drop the files onto a ftp server.
    Is there anyway, that I can use the adapter to split the message interface into smaller files.  For example, if I were to ftp the message interface into 1 file, the file size would be 1MB.  I would like to split the 1 message interface into 4 x 250kb files without having to split the message interface?
    Thanks,
    Miguel

    Hi,
    If you split into 4 files each one should be a XML file right?
    This is possible without BPM.
    Go thro the blog:
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Wat u need to do is make the target side 0..unbounded. If u have 100 records, Map some  25 records in first occurence, 25 in second and so on. This way u can reduce file size.
    Regards,
    P.Venkat

  • Receiver FTP Adapter - Directory create

    Hello,
    the XI FTP Receiver Adapter by default creates the target directory on the FTP Server if it does not exist. The J2SE Engine had an option if you want to create the directory or not.
    Is that available in the XI 3.0 J2EE FTP Adapter? I could not find it. Further if that can be set, would the adatper throw an error?
    Thanks
    Stefan

    Hi Stefan,
            I'm facing the same issue, while trying to create a dynamic folder in the FTP server.
    The FTP adapter failed with the error 'An error occurred while connecting to the FTP server 'ftpserverip:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /root/dynamic/: The system cannot find the path specified. '. For details, contact your FTP server vendor.
    Were you able to resolve this issue using any SAP notes?
    Thanks in advance.
    Thanks,
    Joe.

  • FTP Adapter Problem

    Hi,
    I am using the FTP adapter to transfer a file from a remote machine and am getting this exception.
    java.lang.NoClassDefFoundError: oracle/security/pki/OraclePKIProvider
    at oracle.tip.adapter.ftp.FTP.connect(FTP.java:438)
    at oracle.tip.adapter.ftp.FTPClient.establishFtpSession(FTPClient.java:169)
    at oracle.tip.adapter.ftp.FTPAgent.login(FTPAgent.java:597)
    at oracle.tip.adapter.ftp.FTPAgent.getFileList(FTPAgent.java:269)
    at oracle.tip.adapter.file.inbound.FileSource.getFileList(FileSource.java:199)
    at oracle.tip.adapter.file.inbound.PollWork.pollFiles(PollWork.java:210)
    at oracle.tip.adapter.file.inbound.PollWork.run(PollWork.java:116)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:267)
    at java.lang.Thread.run(Thread.java:534)
    Any ideas?
    Thanks
    -G

    Clemens,
    It's very nice to know that guys like you are here to help people like me. I develope the same BPEL Project on a stand alone windows installation (BPEL Server 10.1.2.0.2) a Works perfectly.
    I'm sure know the problem resides on the BPEL Server or the OAS. Besides updating the BPEL Server version what order suggestions do you have in mind????
    What do you think about OAS R3??? Is it trusted to upgrade to R3 now????
    Thank very much for your time.
    Cordially,
    Jose
    Mensaje editado por:
    user489282

  • FTP adapter problems

    Hi all,
    I'm having some problems with the FTP adapter.
    About two months ago I did an ESB project which reads from an FTP and writes the files in a local directory.
    I noticed that I had to change this parameter oracle.tip.adapter.file.numProcessorThreads=1 in the integration\esb\config\pc.properties.esb en integration\esb\config\ pc.properties file, for the FTP adapter to work all right. And it has been working for a long time.
    The issue is, that now, I deploy this same ESB project to the same server and is not working. No files are being copied to my local directory. Furthermore, there are no instances in the ESB Control either.
    I haven't changed anything so I don't understand why this is happening.
    I set the log trace to FINEST and I found this trace for a lot of files in the log:
    JCA: Poller enqueuing file for processing :/200704110041_r01g0020.gif
    JCA: Ignoring File : 200704110041_r01g0020.gif as it is already enqued for processing.
    So, there are no errors showing in the log but the adapter is not working.
    Any tips about this? It is very important because we have to put this project in the production machine....
    Thanks for your help.
    Message was edited by:
    Zaloa

    Hi Mark,
    Thank you for your response, I have post the service request already. So far, I haven't got any answers and I have been trying to deploy this same project in different servers.
    I get different results everytime without changing anything. In the test environment I just get the first error I post in this thread. In my local server I get a fatal error that I have already reported in this forum with the subject "FatalError FTP Adapter", and I write it here again.
    JCA: Completed inbound translation for : 200704021141_r01g1120.gif
    JCA: Did not publish file {200704021141_r01g1120.gif} as endpoint has been de-activated.
    JCA: Processer thread calling onFatalError with exception Error al publicar el mensaje.
    Se ha producido un error al publicar el mensaje del archivo /200704021141_r01g1120.gif (Error publishing the file message....)
    Compruebe la pila de errores y corrija la causa del error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede
    corregir el error. (Check error stack and fix the error. Contact Oracle Support Services if the error can not be fixed)
    JCA inbound adapter service listener for "SUBIRA.INM.ConsultaFTP_RS.Get" with endpoint ID "[Get_ptt::Get(opaque)]" has been requested
    to shutdown by Resource Adapter due to fatal error. Reason : ORABPEL-11004
    Error al publicar el mensaje. (Error publishing the message)
    Se ha producido un error al publicar el mensaje del archivo /200704021141_r01g1120.gif (An error has occurred publishing the file....)
    Compruebe la pila de errores y corrija la causa del error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede
    corregir el error. (Check error stack and fix the error. Contact Oracle Support Services if the error can not be fixed)
    Any ideas? Thanks in advance,
    Zaloa

  • BPEL FTP Adapter problems

    Hi!
    I have two problem using the FTP Adapter in a BPEL process.
    The first can be described as follow: I have a BPEL process that incapsulates the FTP Adapter and it is deployed correctly on the BPEL default domain. It's working fine in a normal context with no error. Now I want to simulate a "read FTP Server" crash; so I put the FTP Server from which I'm reading off-line. When the GET module of the FTP Adapter tries to poll the server, it generates a Null Pointer Exception and on the server command window I can read, after a while, that the process state will be set to OFF. But when I enter in the console I always see the state ON! But the interesting question is: is there an automatic way to recovery the process and to restart it? I see that in the domain parameter there are two values: rcvAgentDelay (7200) and rcvThreshold (600). I tried to set them to some other values, for example (120) and (10), but the process still remains "blocked" and no new polling seems to happen.
    The second problem is about the creation and the deploying on a new domain. I create a new domain called "bulk" and I tried to deploy my process on it but I can't do it due to the generation of many exception! Can I deploy a process with a FTP Adapter component inside on a domain different from the default one? And if the response is positive, like I think, can you summarize the most important steps of it and if I must configure some specific domain parameters?
    Thanks a lot,
    Busnelli.

    OK, firstly I want to thank both of you, Rakesh and Maneesh.
    Here are the details requested:
    Operation System = Windows XP Pro SP2
    BPEL Process Manager = 10.1.2
    BPEL Server version = 2.2 (build 1361)
    JDeveloper version = 10.1.2 (build 1811)
    BPEL Designer version = 10.1.2 (build 050322)
    Usually after any modification I'm used to restarting the BPEL server.
    Today I have downloaded the "Oracle JDeveloper 10g (10.1.3) - Developer Preview" (I think to be the Post Beta 3) and as soon as possible I will try to use it.
    Thanks to both!

  • Urgent ! BPEL file and ftp adapter problem.

    Hi All!
    I have created a bpel process having two partner links.One for the ftp adapter and one for the file adapter. I want the ftp adapter to poll the *.pdf files in the specified directory on the remote machine periodically and get them to my local machine here. For this I am using ftp adapter with read operation and with opaque schemas(because I want the files as they are without any transformation). I am using a receive activity with the ftp adapter, with the create instance box checked.
    To write the file to the local machine I am using file adapter and write operation.File adapter also uses opaque schema.With this file adapter I am using invoke activity.Invoke is below the receive activity in the bpel process. I deployed this successfully on the default domain. I want the bpel process to run automatically,depending on the polling frequency given and create instances and bring the files to my machine.
    But it is not happening.
    Can anybody tell me where I am going wrong.How to accomplish this? It is very urgent issue for me.
    Thanking in advance,
    Regards,
    Deepika.

    Hi All!
    Now I am able to write files and also read files successfully with the remote server. I followed the same method described above.I am using binary format itself for pdf files.But I have to check the option 'to delete files after successful retrieval' to make this happen.I created several partnerlinks with the option in the ftp adapter not checked,but it is not working. Has anybody done successful retrieval without deleting the files at the remote server? If so please let me know.
    Thanking in advance,
    Regards,
    Deepika.
    Message was edited by:
    Deepika

  • Archiving files sent by Receiver FTP Adapter ?

    Hello,
    we search for a solution to archive a file, which was sent by a receiver File/FTP Adapter (via FTP) to a ftp server.
    in an other directory on the FTP server. (Similar to the standard function of the sender File/FTP Adapter)
    Any Ideas ? A hint would be nice.
    Thanks.
    Regards
       Thorsten Stork

    Hello Thorsten Stork,
    This will help you
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    Hi Vishnu,
       Happy to see you in SDN Forum,
    Regards
    Agasthuri Doss

  • Receiver FTP adapter not intialized

    Hello all,
    I have set up a receiver File adapter but when I check the adapter monitor it shows me "Adapter not initialized"...The authorizations are prefect since I have set admin id's in the FTP server username and pwd. I would like to check the adapter engine to see if this adpater has been turned on..What is the URL to check the adapter engine in the J2EE stack ?? Also I set up a mail adapter which never shows up in the adapter monitor ..What could be missing??
    -Ken

    Hi,
    go to the path:
    <server>\<sapSID>\DVEBMGS10\j2ee\cluster\server0\log\services\com.sap.aii.adapter.file.svc
    inside you should be able to find all of you adapters
    config_[adaptername] files.
    inside you can see their configuration and sometimes
    an error message at the end
    maybe there will be something over there  
    Regards,
    michal

  • Receiver mail adapter problem

    I am doing File -XI-Mail scenario.I am able to pickup the file but don't receive any mail.In RWB in communication channel monitoring I can see the error log for receiver mail adapter.The error is
    "failed to send mail: java.net.SocketException: Network is unreachable: connect"
    The configuration parameters I am using are:
    Transport Protocol:SMTP
    Message Protocol:XIALL
    URL:smtp://Outlook server host
    Userid:xxxxx
    PWD:xxxxxx
    I am at client network and the my outlook server is in my company network which we connect using VPN from client.Is this could be the reason for this error?
    Please let me know if someone has come across such error.
    Thanks,
    Rekha

    hi,
    >>>"failed to send mail: java.net.SocketException: Network is unreachable: connect"
    probably there's no communication between your XI server and mail server machine and XI server cannot access the mail server
    you need to report it to your network admin so it will allow the connection
    or he will set up a mail server on the XI server machine
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • SOA FTP Adapter Problem

    Hi ,
    I am using FTP adapter to put the file.
    I did the setting in oc4j-ra.xml file for the FTP server.
    I am getting the follwoing error while running the BPEl process.
    I have checked the read write permission and other details as mentioned in the error.
    please help.....
    +++++++++++++
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>550</code>
    </part><part name="summary"><summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_Airticity_Process_1.0_bc04d4d0e0927a043f00d8dd40324e6d.tmp/FTP.wsdl [ Put_ptt::Put(OutputFile) ] - 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>550 /D:/vikram/output/po_2.xml: The filename, directory name, or volume label syntax is incorrect. </detail>
    </part></bindingFault>
    ++++++++++++++
    Please help.
    Thanks and Regards,
    Vikram singh

    Maybe an open door, but are you able to FTP to that server from the same BPEL server under the same user account as BPEL is running?

Maybe you are looking for

  • How can I setup multiple home page tabs?

    I am trying to setup mozilla like I have internet explorer. This is to say with multiple home page tabs on opening. Can I do this, if so how?

  • Error: Can't find Class

    Hi there, I have added an external library (jtom) to my project. I get this runtime error when running my midlet: Error: Can't find Class jtom.service.JTOMException. When I extract the contents of the library(jtom), I can see that the class (jtom.ser

  • Image icons won't download on app store- OS X Lion 10.7.5

    Please advise:  All icons in the Apple app store will not load, how do I corect this issue...                                                                                      thanks for any help

  • Os x mavericks reads my macbook pro 15 inch as a (13-inch) what should i do please help :(

    My macbook pro 15-inch Early 2011 After updating to OS X mavericks The display in (about my mac) menu reads it as 13-inch What should i do?? Any help??

  • Iphone 3gS Cursor jumps around.

    My Iphone 3gS cursor jumps around on occasion when typing texts or emails. The issue has persisted despite several resets and software upgrades. When the cursor jumps, it can either go to the next line or else into the "Sent from my Iphone" line. Any