Problems in FTPS file adapter

Hi,
I have configured a sender file adapter to use FTPS.When I lookinto the adapter monitor the corresponding communication channel has a red symbol saying 'Error: Error connecting to ftp server 'dev-db1':
FTPEx: Please login with USER and PASS'.
I have deployed SAP Java Cryptographic Toolkit.
I have added the CA certificate to the key storage.
Any help is appreciated. Thanks in advance
Regards,
Suneel
Message was edited by: Suneel

Hi Suneel,
Looks like in your CC configuration you still have "Connection Security" as none.
You should select one of the 2 FTPS options.  Then verify the "Command Order" and check if X.509 is used for client authentication.
Pls check the following for details:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Bill

Similar Messages

  • Ftp file adapter -

    Hello,
    I am using FTP - file adpter receiver in which Data conncetion is is Active. When I ran scenario I got following error on FTP file adapter.
    11.04.2008 16:11:53 Success Connect to FTP server "CorpFTP.UHC.COM", directory "/ftp/418p/put"
    11.04.2008 16:11:54 Success Write to FTP server "CorpFTP.UHC.COM", directory "/ftp/418p/put",   file "FREEMANF.U.200804111610.gsf.pgp"
    11.04.2008 16:11:54 Success Transfer: "BIN" mode, size 368397 bytes, character encoding -
    11.04.2008 16:11:56 Success Connect to FTP server "CorpFTP.UHC.COM", directory "/ftp/418p/put"
    11.04.2008 16:11:56 Error Attempt to process file failed with java.net.SocketException: Connection reset
    11.04.2008 16:11:56 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Connection reset: java.net.SocketException: Connection reset
    11.04.2008 16:11:56 Error Exception caught by adapter framework: Connection reset
    11.04.2008 16:11:56 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Connection reset: java.net.SocketException: Connection reset.
    11.04.2008 16:11:56 Success The asynchronous message was successfully scheduled to be delivered at Fri Apr 11 16:16:56 CDT 2008.
    11.04.2008 16:11:56 Success The message status set to WAIT.
    I also tried with Passive Data Connection without any success. I got following error when I tried with passive data connection.
    11.04.2008 16:02:23 Success Connect to FTP server "CorpFTP.UHC.COM", directory "/ftp/418p/put"
    11.04.2008 16:02:23 Success Write to FTP server "CorpFTP.UHC.COM", directory "/ftp/418p/put",   file "FREEMANF.U.200804111600.gsf.pgp"
    11.04.2008 16:02:23 Success Transfer: "BIN" mode, size 368397 bytes, character encoding -
    11.04.2008 16:02:23 Success Connect to FTP server "CorpFTP.UHC.COM", directory "/ftp/418p/put"
    11.04.2008 16:02:24 Error Attempt to process file failed with com.sap.aii.adapter.file.ftp.FTPEx: 425 Can't open passive connection.
    11.04.2008 16:02:24 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Can't open passive connection.: com.sap.aii.adapter.file.ftp.FTPEx: 425 Can't open passive connection.
    11.04.2008 16:02:24 Error Exception caught by adapter framework: Can't open passive connection.
    11.04.2008 16:02:24 Error Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Can't open passive connection.: com.sap.aii.adapter.file.ftp.FTPEx: 425 Can't open passive connection..
    11.04.2008 16:02:24 Success The asynchronous message was successfully scheduled to be delivered at Fri Apr 11 16:07:24 CDT 2008.
    11.04.2008 16:02:24 Success The message status set to WAIT.
    I also tried ftp directly fron the XI server using command line and also using winftp utility. In both cases I was successful to ftp the file. The ftp server says we need to run in only active connection mode.
    I wonder if any one experienced same problem and how was it resolved? I appreciate your help.
    Thank you,
    Balaji

    Srini,
    Thank you for the reposne. THe Q.26 is as follows.
    Q: I have configured a File Adapter channel to connect to an FTP server, but receive one of the following error messages in the adapter monitor:
    Error connecting to ftp server '<hostname>': SocketException: Connection reset
    Error connecting to ftp server '<hostname>': SocketException: Connection refused
    Error connecting to ftp server '<hostname>': ConnectException: Connection timed out
    A: This problem is either caused by incorrect firewall / packet filter settings or an incorrect configuration of the FTP server. Also make sure that you have correctly specified the host name / IP address and port of the FTP server.
    Changing the connection type from 'active' to 'passive' (or vice versa) might additionally help to work around the incorrect firewall configuration.
    I was successful in transmitting file via ftp from XI box without any issues. If there are fire wall issues,command line ftp shall fail. I also verified that the file size is good after transmission. I have tried with both active and passive mode without any success.
    By the way I have about 6 other ftp communication channels configured and working correctly from the XI box. Please let me know if you want me know.
    Thank you,
    Balaji

  • How to Create a Flat File using FTP/File Adapter

    Can any body done workaround on creating the Flat file using FTP/File Adapter?.
    I need to create a simple FlatFile either using of delimiter/Fixed length. using the above said adapters we can create XML file, i tried concatinating all the values into a single String and writing into a file, but it does not have proper structure
    Can any body help me out on this..
    Thanks
    Ram

    You can create a text schema while creating a File Adapter. If schema is specified for File Adapter, it takes care of converting XML into fixed length or delimited format.
    Thanks,
    -Ng.

  • How to know file name in FTP/file Adapter

    Iam new to FTP/file Adapter,
    when ever we use ftp/file adpter,
    afrter pick file from remote server/local system.
    how can i fine filename,?
    how can handling a fault,if file picked,but data is wrong ?
    How we know the picked date, time of that picked file ?
    please give me solution

    Check this : http://docs.oracle.com/cd/E25178_01/integration.1111/e10231/adptr_propertys.htm#CHDJBDHC
    Search for this topic : Table A-5 JCA Properties for Oracle File Adapter: Normalized Properties.
    After the file has been picked up, you can easily fetch the file details using "jca.file.FileName" etc (see above).
    Rest should be dealt by you, depending upon the scenario you have.
    HTH

  • EOIO service on Receiver FTP/File Adapter

    Hi,
    I have a scenario where I would like the sender adapter to be quality of service, EO (Exactly Once), and the receiver ftp/file adapter to be of quality of service, EOIO (Exactly Once in Order).  Is there a way to change the quality of service on the receiver adapter only so that it differs from the sender adapter?
    Thanks in advance.
    Best Regards,
    Duke

    Hi,
    Unfortunately changing the QoS in the adapter module does not solve the issue.  The message appears to be put into the queue prior to the module being called.  Below is the audit log.
    2007-10-26 09:58:30 Success Using connection AFW. Trying to put the message into the receive queue.
    2007-10-26 09:58:30 Success Message successfully put into the queue.
    2007-10-26 09:58:30 Success The message was successfully retrieved from the receive queue.
    2007-10-26 09:58:30 Success The message status set to DLNG.
    2007-10-26 09:58:30 Success Delivering to channel: XXXXXXX
    2007-10-26 09:58:30 Success ChangeQoS: Module called
    2007-10-26 09:58:30 Success File adapter receiver: processing started; QoS required: ExactlyOnceInOrder
    As you can see the QoS has been changed to EOIO from the adapter module, but the message is still in Qos EO.
    Am I missing something or is there another way this can be achieved?  Can we do this in the mapping somehow before it ever gets to the AFW?
    Thanks in advance.
    Best Regards,
    Duke

  • Problem with NFS file adapter using a network share as source of files

    Hello,
    I have set up a sender cc with NFS format file adapter, with at the source directory a network share (
    server\sharename ). The share is on another system and not mapped to a local drivename, but it is open for everybody.
    The problem is, the adapter seems to not pick up the files in the directory, so there must be something I'm overlooking.
    - Both servers run on Windows
    - Share is available normally and open for everybody for all actions (including the SAPServiceSID user)
    - Files themselves are okay. If I put a file on a local drive and make the source directory the local drive instead of the network path, the file gets processed correctly
    - Because of the need for a file completion check, FTP is not an option
    Does anybody know what is going wrong, or what I could check for trace / logging info on possible cause of the problem?

    Hi,
    While using NFS mode you are supposed to put the file on XI server directory NOT to a common share directory of any other machine. And this is the reason your adapter in not picking the file.
    You can upload the file on XI server directory by using the tcode "SXDA_TOOLS", morevere you can check the file on the same directory with tcode "AL11". It is otherway-around, you can first select or chose the dir by AL11 and then put the file in the same dir by tcode SXDA_TOOLS.
    If you need more info about SXDA_TOOLS, let me know.
    Regards,
    Sarvesh

  • Problem with Receiver File adapter

    Hi
    I have a problem with receiver file FTP adapter, while writting file in target folder, connection is failing, after retries, it writting file again. How to avoid this situation, is there any way to write the leftout part in the file.
    VS

    Hi
    Thank u all,  Problem is solved, i changed write mode to Over write existing file. It is working fine.
    VS

  • Problem in sender file adapter

    Hi all,
      I have a sender file adapter using ftp with processing mode delete. But my input file is not getting deleted. In RWB, the adapter satus is green with msg processed sucessfully. I tried with a file name that is not available in the ftp folder, but still the adapter status is green with msg processed succesfully.
    Help me debug this error.
    Regards,
    Jai Shankar.

    Are you using Content conversion ?
    If adapter monitoring is green, and shows processed successfully, then if you have any errors , you can see in the RWB->Message Monitoring->Audit Log (Message display Tool).
    If there is no error, then try to do the cache refresh as I told. Ask Admin help for that. Restarting a Adapter engine may help you here/
    Regards,
    moorthy

  • Problem in Sender File Adapter using FCC with Variable structure

    Hi Experts,
    Hi Experts,
    I have facing an issues while using FCC in Sender File adapter. Below are the configs for the same:-
    Recordset structure required is ==HEADER,1,DATA,*,TRAILER,1
    Recordset per message == *
    Key Field Name == Key
    (Sorry i dont know how to insert screen shot here..pls tell me how can i insert screen shots here on sdn)
    HEADER.fieldSeparator           ,
    HEADER.endSeparator           u2018nlu2019
    HEADER.fieldNames               Key,x,y,zu2026
    HEADER.keyFieldValue          1
    HEADER.keyFieldInStructure      ignore
    HEADER.fieldContentFormatting     trim
    HEADER.additionalLastFields     ignore
    HEADER.missingLastFields     ignore
    DATA.fieldSeparator
    DATA.endSeparator
    DATA.fieldNames
    DATA.keyFieldValue
    DATA.keyFieldInStructure
    DATA.fieldContentFormatting
    DATA.additionalLastFields
    DATA.missingLastFields
    Using same variables for Trailer record as well.
    Source CSV file which i am picking:-
    ADSE ,RASD,replan  Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,  S Top Up ,20080401  ,20080430  ,sdf  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,  r Cash Award ,20070701  ,20070703  ,ded  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,   Cash Award ,20070801  ,20070831  ,df  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,sf  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    BTRL ,   5140, 
    When i tested the scenario and monitored it using MDT in CC monitoring tool its giving me below mentioned error.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://myurlname/mdt/me...
    However if i change the occurence of DATA as some specific value for eg 4 instead of * it works fine.
    Kindly help me in solving this problem.
    Thanks,
    Aditya Verma

    Hi Madan,
    Thanks a lot for giving me the way to this. But when i tested this with the below file its giving me the same error. Please let me know if i need to do any changes to the parameters mentioned above:-
    ADSE ,ASDA,Sha  replan Fr ont Feed Contact ,2  0080509 0 8:43:25   ,        
    EMPL ,0011111,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000431250  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:35,
    EMPL ,0222222,   r Cash Award ,20070701  ,20070703  ,TPV  ,                          00000000023509  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0233333,  r Cash Award ,20070801  ,20070831  ,TPV  ,                          00000000044057  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:10:56,
    EMPL ,0244444,   Cash Award ,20080101  ,20080111  ,TPV  ,                          00000000026717  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:29,
    EMPL ,0255555,   Cash Award ,20080301  ,20080320  ,TPV  ,                          00000000027870  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:25,
    EMPL ,0266666,   Cash Award ,20071001  ,20071020  ,TPV  ,                          00000000020681  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:09:31,
    EMPL ,0877777,   Cash Top Up ,20080401  ,20080430  ,TPV  ,                          00000000036000  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:05,
    EMPL ,0888888,   Leaver Cash Award ,20071201  ,20071231  ,TPV  ,                          00000000157200  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:11:29,
    EMPL ,0899999,  S Leaver Cash Award ,20080301  ,20080331  ,TPV  ,                          00000000153530  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:07:42,
    EMPL ,0800000,  S Leaver Cash Award ,20070701  ,20070731  ,TPV  ,                          00000000012234  ,2007                                    ,  ,  ,  ,  ,  ,20080414  18:08:34,
    BTRL ,   5140,
    This the original csv file which i'll get in live. Kindly suggest as ur solution worked with other file but not working with this scv file.
    Thanks a lot,
    Aditya.

  • "Performance" problems with the File adapter on Plain J2SE Adapter Engine

    Hi,
    At the moment I'm on a customer side to solve some XI issues for a few days. One of the issues is the performance of the Plain J2SE Adapter Engine, using the file adapter to transfer XML messages(already XI message format) from the legacy system to the Integration Engine. The File adapter has to deal with "large" XML messages(max at the moment is 65 Mb) and the engine fails with the following error when transferring the big XML file: "ERROR: Finished sending to Integration Engine with error "java.lang.OutOfMemoryError". Skip confirmation and quit this loop".
    As far I got the information from the customer the memory use of the Plain adapter engine is set to 512Mb. This is maybe to low. But I don't know where to look for this, I only have the adapter web interface in front of me, no access to the OS it self via for example remote connection.
    On the Integration Engine I know there is the ability to split large message with the file adapter(File Content Conversion), but I don't know this for the Plain Adapter Engine. Is there a possibility to do this also on the Plain Adapter Engine?
    Thanks in advance for any input.
    Greetings,
    Patrick

    Hi Sameer,
    Thanks for your answers.
    On the first solution, yes that is possible, we first decided to see if the legacy system can do the splitting, before starting developing a Java program.
    On the second solution, as far as I know is this solution possible on the Integration Engine. But we are facing the problems on the Plain J2SE Adapter Engine. I went trough that documentation(link:
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/246b3de666930fe10000000a114084/frameset.htm ), to look for I similiar solution in the Plain Adapter Engine. So my question is, is this possible with the Plain Adapter? And if so, what kind of parameters I need to use to achieve this.
    Regards,
    Patrick

  • Testcase problem using two file adapter and a transformation

    We've got an input which looks like this :
    <?xml version="1.0" encoding="UTF-8"?>
    <rows>
    <row>
    <id>10</id>
    <naam>A</naam>
    </row>
    <row>
    <id>20</id>
    <naam>B</naam>
    </row>
    </rows>
    I've created an XSD for this message which looks like this ( straightforward ) :
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.test.nl/testschema" xmlns:test="http://www.test.nl/testschema" elementFormDefault="unqualified">
         <element name="row">
              <complexType>
                   <sequence>
                        <element ref="test:id"/>
                        <element ref="test:naam"/>
                   </sequence>
              </complexType>
         </element>
         <element name="rows">
              <complexType>
                   <sequence>
                        <element ref="test:row" maxOccurs="unbounded"/>
                   </sequence>
              </complexType>
         </element>
         <element name="naam">
              <simpleType>
                   <restriction base="string">
                   </restriction>
              </simpleType>
         </element>
         <element name="id">
              <simpleType>
                   <restriction base="byte">
                   </restriction>
              </simpleType>
         </element>
    </schema>
    I've imported this XSD in my ESB project and created a file adapter which reads this type op files.
    I've created another file adapter to write the files 1:1 to an output dir.
    In the routingservice I've created a very straightforward XSL mapping which maps everything 1:1.
    Now the problem
    When I use this input :
    <?xml version="1.0" encoding="UTF-8"?>
    <rows>
    <row>
    <id>10</id>
    <naam>Martin</naam>
    </row>
    <row>
    <id>20</id>
    <naam>Edward</naam>
    </row>
    </rows>
    my output result is:
    <?xml version="1.0" ?><imp1:rows xmlns:imp1="http://www.test.nl/testschema"/>
    I know this is a namespace issue. When I add the namespace
    <?xml version="1.0" encoding="UTF-8"?>
    <rows xmlns="http://www.test.nl/testschema">
    <row>
    <id>10</id>
    <naam>Martin</naam>
    </row>
    <row>
    <id>20</id>
    <naam>Edward</naam>
    </row>
    </rows>
    I get the correct ( and 1:1 output ).
    The problem is. In the scenario I'm about to build the input xml messages do not have an namespace. How can I alter my xsd file or anything within my ESB project that all files will be picked up correctly and processed without having an default namespace?
    Any help is appreciated!

    True,
    But its the other way around what is causing my problem.
    Because the input xml files contain no namespace at all the xml messages are transformed but result in an almost empty xml message. ( e.g. the root element is there and thats it ).
    This is because the XML transformation mapper in ESB ( as well as BPEL ) excplicitly needs a namespace.
    I solved it by editing the XSL by hand, removing the :imp1 namespace prefixes in the select="" tags. e.g.
    <xsl:for-each select="/imp1:rows/imp1:row"> is updated in
    <xsl:for-each select="/rows/row">
    As far as I know this is the only workaround at the moment that I could find.

  • A problem with the File adapter receiver

    Hi people,
    In the Integration Monitoring the system represent this problem:
    File adapter receiver channel Mainframe_FA_StructureAch_CC_RC is not initialized. Unable to proceed: null
    Any body can help me!!
    Thanks!!

    Hi ,
    Just check is it Activated ? Go to RWB->Adapter Monitoring
    Check the status there ..
    To more- Go to service market place to view the Adapter Monitoring PDF
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Hope this helps.
    Regards,
    Moorthy

  • Problem with a file adapter

    Hi,
    I'm making a scenario using XI 3.0. I use a file adapter (with an inbound synchronous interface) to send a xml file to XI. XI consumes a function from CRM using a RFC adapter and an outbound synchronous interface.
    The xml file arrives correctly to CRM. The problem is CRM doesn't return the BAPI result, so XI doesn't return any response. XI should return another xml file through another file adapter.
    How can I make this scenario to send a xml file using a file adapter and receive another xml file using the same adapter type after consuming the BAPI?
    Thanks in advance,
    Samantha.

    you have to use BPM, if you want response back from CRM and create some file based on it all during the same transaction.
    another way is create some kind of trigger on CRM side, whenever that BAPI executes and creates some data in CRM, that trigger should send the data to XI as separate interface through RFC or IDOC.
    --Archana

  • FTPS file adapter setup fields not visible after SP13 install

    After installation of SP13, I was looking for file adapter FTPS setup (fields described in SP13 release notes). I could not see any. It's just like the old adapter.
    Java cryptolib is installed, and we checked it is there.
    we recycled the whole thing.
    Any idea what could be missing ?

    Solved. We had applied SP12 file.
    Note that this originates from the SP stack download tool.
    We had followed the generic download process and it did not contain the SP13 tpz file.
    I tried again this morning, when selecting source sp11 target sp13, The selection of packages selects
    SAPBASIS12_0-10002900.zip... and not the SP13 one.
    Watch out if you move two SP up !
    Detailed solution :
    Downloaded the SP13 zip file. the following way.
    service.sap.com  download/entry by app grp/sap content
    process integration (XI content)/ XI_CONTENT_SAP_BASIS/ XI_CONTENT_SAP_BASIS_6.40/DB independant/ selected sp13 from the list
    Unzipped, and put the tpz file in the import directory
    of the repository. file name is XI3_0_SAP_BASIS_6.40_13_02.tpz
    Imported it
    And it works now
    Thanks a lot for your help.

  • FTP/File adapter issue (polling one file at a time)

    Hi,
    I have come across an interesting scenario. I have a folder in which many files are placed at once (around 20+).
    In my adapter I need such a logic that whenever file adapter polls the directory, it should only pick one file, wait for the specified time (in PollingFrequency interval or maybe some other way) and then poll the next file. Right now it polls all the files in one go.
    Is there any property that I can use or any other logic that can help me achieve this?
    Thanks.

    Hi,  You can use MaxRaiseSize property. Set its value to 1.

Maybe you are looking for

  • Vmware workstation problem

    So I've just installed VMware Workstation 11 and when I try to start it , it does not start this is the content of the log file Can anyone help me out ? 2015-06-16T22:58:08.153+01:00| vmui| I120: Log for VMware Workstation pid=5366 version=11.1.2 bui

  • How to "collapse" Dashboards into groups on banner

    I have a dashboard group with 5 seperate dashboard in it. All 5 of the dashboards are listed on my banner. Isn't there a setting somewhere that controls how many dashboards will be shown before they get grouped on the banner? I want to only show the

  • Insert record in INFOTYPE

    I have not worked wiith infotypes...Please guide me... I have created Employee infotype with number 9035. I added that structure in the standard infotype table PA9035 (HR Master Record: Infotype 9035) in that standard infotype some other SAP includes

  • Where is the texturizer in CC

    I am looking for the texturizer in CC to build a puzzle and it is not around

  • Installing a Kanvus Virtuoso T5000 graphics tablet on an iMac

    On 26 June 2013 I purchased a Kanvus Virtuoso T5000 graphics tablet from Worldstart.com. Unfortunately, it was some time before I was able to try to install and use the item on my iMac, which is running OS-X Version 10.9.1. I now find that attempting