Using B2B as file / ftp gateway

We have a need to reach out various ftp servers and retrieve files. We can do it in BPEL directly, but i was wondering if it is possible for b2b server to go out to these ftp servers and retrieve the files on a scheduled basis ?

Oracle B2B can poll file/ftp locations in a regular interval. I am not sure what do you mean by scheduled basis.
Regards,
Anuj

Similar Messages

  • Receiver File/FTP, SFTP, binary, endSeparator for CRLF ?

    We are planning an interface using the Receiver File/FTP Adapter, using SFTP in binary mode.
    The SAP PI runs on Unix, the other applications runs on Windows.
    Can NameA.endSeparator be used to ensure that every line in this file ends on CRLF?
    (As you know, Windows has the habit of ending lines in text files with CRLF - carriagereturn-linefeed, whereas Unix uses a singe LF - linefeed, also known as newline or nl).

    Yes it can be done with '0x0D''0x0A' value which represents the CR and LF respectively...
    which has been implemented succesfully in our interface...
    HTH
    Rajesh

  • In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850

    Our requirement is to build a SOA Composite to dump all the details in a EDI X12 850 ( Purchase order ) document in to a database table. In my SOA Composite, Can I use file/FTP adapter to get the EDI X12 850 element details to map them to a base base columns.

    Drop the File Adapter to the left lane of the composite i.e., Services lane...
    Go to Step 2, give a meaningful name....
    Step 3, select "define from operation and schema"
    Step 4, select the operation type as "read"
    Step 5, select physical path and give the folder path in the "Directory for incoming files" field.,
    Step 6, select wildcards and give the expression depending on the file name it would be at run time...
    Step 7, select the polling frequency as required....
    Step 8, in the URL field, adjacent to that , select "browse for schema file" and select the XSD which you have exported from B2B Editor.
    say next and finish, you will be good to go.
    Hope this helps,
    Thanks,
    N

  • Using relative path for in file/ftp adapter

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

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

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

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

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

  • How to use a key file in the FTP Task using and SSL connection

    In the past I have used this code to set the FTP pass word in an FTP component task in SSIS.
    Does anyone know how to use a Key file in an SSL connection to download a file from an FTP site?  If not can you tell me where I can get the C# code examples to learn how to create a script task or if there is another way in SSIS to download large files
    from an SSL FTP site?  Thank you for any help offered.
    public void Main()
    ConnectionManager FTPConn;
    FTPConn = Dts.Connections["FTPServer"];
    FTPConn.Properties["ServerPassword"].SetValue(FTPConn, Dts.Variables["FTPPassword"].Value);
    Dts.TaskResult = (int)ScriptResults.Success;
    Antonio

    You can use SFTP for this.
    This is a way of implementing SFTP in SSIS using standard tasks 
    http://visakhm.blogspot.in/2012/12/implementing-dynamic-secure-ftp-process.html
    also see
    http://blog.goanywheremft.com/2011/10/20/sftp-ftps-secure-ftp-transfers/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • "Message Rejection Handler" for the file/ftp adapter using fault policy

    Hi guys,
    We are trying to implement "Message Rejection Handler" for the file/ftp adapter using following fault policy configuration.
    Fault Policy:
    `````````````
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="ProcessNameGenericPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-rethrow-fault"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
    <rethrowFault/>
    </Action>
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    <faultPolicy version="2.0.1" id="ProcessNameHumanInterventionPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
    name="medns:mediatorFault">
    <condition>
    <test>contains($fault.mediatorErrorCode, "TYPE_TRANSIENT")</test>
    <action ref="ora-retry-with-intervention"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-retry-with-intervention"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-rethrow-fault"/>
    <!--<action ref="ora-retry-with-intervention"/>-->
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry-with-intervention">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-human-intervention"/>
    </retry>
    </Action>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
    <rethrowFault/>
    </Action>
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    <faultPolicy version="2.0.1" id="RejectedMessages">
    <Conditions> <!-- All the fault conditions are defined here -->
    <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PartnerLinkName">
    <!-- local part of fault name should be the service name-->
    <condition>
    <action ref="writeToFile"/> <!-- action to be taken, refer to Actions section for the details of the action -->
    </condition>
    </faultName>
    </Conditions>
    <Actions> <!-- All the actions are defined here -->
    <Action id="writeToFile">
    <fileAction>
    <location>Server/Loc/path</location>
    <fileName>Rejected_AJBFile_%ID%_%TIMESTAMP%.xml</fileName>
    </fileAction>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    Fault Binding:
    ``````````````
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="ProcessNameGenericPolicy"/>
    <service faultPolicy="RejectedMessages">
    <name>PartnerLinkName</name>
    </service>
    <reference faultPolicy="RejectedMessages">
    <name>PartnerLinkName</name>
    </reference>
    </faultPolicyBindings>
    We have SyncFileRead partner link.
    The expectation is: when the message read by SyncFileRead partner link is rejected,
    that rejected message should come to particular directory in the server.
    Could you please help us fixing this.
    TIA.

    HI..
    Have a look at this blog :
    3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    u2022 If the error is in Adapter Engine
    u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    u2022 May be wrong password for user XIISUSER
    u2022 May be wrong password for user XIAFUSER
    u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Http* Errors in XI
    Thanks,
    Pooja

  • Unzip file using operating system command in file/ftp receiver adapter

    Hi,
    I'm wonderdering how to unzip a zip-file in the receiver file/ftp adapter. I know it is possible to do it using the 'Operating system command' feature, but somehow the command I use seems to be ignored! (I'm using SP14, unix).
    The command I entered is quite simple: unzip %F (also tried the %f, but i guess it doesn't really matter wich on I use).
    Is it possible that I'm unzipping to another directory than the one i expect? the unzip should be performed to/in the current directory, and assumingly current directory is the one stated in the 'Target Directory', right?
    Hope someone can clearify this issue for me.
    Best regards,
    Daniel

    Hi Daniel,
    It seems to me also, that the files are being unzipped to a different location than what you are expecting. The OS command might getting executed in some default location(i am trying to fnd that out)on the server and not in the target directory of the channel(It seems logical to me)....
    If you have time...pls try this out & see whether this would help...
    Have a shell script written with the following commands in them
    cd <path to target directory>
    unzip $1(filename from the channel)
    and in the OS command in the Channel give....
    <absolute path to the .sh file> %F
    Thanks,
    Renjith.

  • Add Counter to File name when using Tran Protocol as FTP

    Hi There,
    Was wondering if there was any way to achive the same "Add Counter"  functionality used for File names in Reciever file adapter when we are using FTP as the transport protocol, this option is only provided in NFS,
    My requirement is ..
    Write files using counter on to ftp..
    say if three files already exists on the ftp server with names ...fname001, fname002 and fname003
    then the next time a file is written it should have a file name fname004 else fname001 if no file exists.
    Any help would be greatly appreciated

    No such standard functionality is available in communication channel...
    But you can try customizing ur scenario in one of the following ways...
    Case 1: If a field in source data carries the information regarding the sequence.
    You can map this value ( Directly .. or using some transformation ) in some temporary field in the target and then use a Variable substitution at the receiver communication channel.
    Case 2. If the source file name carries the sequence information. then you can enable the Adapter specific settings in the Sender communication channel , and then get the information of the source file name using the Container object in the mapping. Then assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
    Case 3 : If Case 1 and Case 2 are not applicable ... then you have to use a Ztable to store the sequence number , a function module to fetch the number , and then use a UDF in which you will implement the RFC call logic.Then the same process .... assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
    BR,
    Sushil.

  • Need to send XML msg to TP using B2B, but format should be Orcl XML Gateway

    Current Interface:
    ==================
    We have an EBS 11.5.10 with XML Gateway.
    Actively we were exchanging XML data with 5 trading partners (different application maintained by 3rd party) using EBS XML Gateway.
    XML Gateway uses OAG Format (attached the format bellow)
    Future Interface:
    =================
    Our company is in process of moving our EBS 11.5.10 app to Oracle Fusion Apps.
    Oracle Fusion app interfaces will be using Fusion Middleware and B2B.
    For that we doing a POC interface between a Fusion MDM and 1 Trading Partner.
    Problem:
    ========
    But, when sending XML message to other TP using B2B, the format is different. i.e. Message in the XML Format.
    Eg.
    <?xml version="1.0" ?><OUTB_FUS_IND_DATA> <OUTB_FUS_IND TRANSACTION_TYPE="TP_INDIVIDUAL_OB" TRANSACTION_SUBTYPE="INDIVIDUAL.UPDATE"> <OUTB_FUS_IND KEYVALUE="100010058799220" PERSON_FIRST_NAME="Xyz" PERSON_LAST_NAME="Abc"/> </OUTB_FUS_IND></OUTB_FUS_IND_DATA>
    Oracle XML Gateway send message with message envelop, which have attributes as text field and payload in the XML message format (XML Gateway envelope details is below).
    (Sample XML messages goes out: HTTP Body
    TRANSPORT_PROTOCOL=OXTA
    TRANSPORT_PROTOCOL_VERSION=1.0
    REQUEST_TYPE=SEND
    MESSAGE_ID=A1234567890ZZ0987654321
    MESSAGE_TYPE=XML
    MESSAGE_STANDARD=OAG
    TRANSACTION_TYPE=TP_INDIVIDUAL_IB
    TRANSACTION_SUBTYPE=INDIVIDUAL.UPDATE
    DOCUMENT_NUMBER=12345
    PARTYID=9999
    PARTY_SITE_ID=8888
    PROTOCOL_TYPE=HTTPSu2013OXTA
    PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
    Therefore, when I receive the document in PI the mapping fails due to an incorrectly formed message payload. For example:
    TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&REQUEST_TYPE=SEND&MESSAGE_ID=9EA3BD2......
    We want B2B send messages to other TP as same way XML gateway use to send.
    How we solve this issue?
    XML Gateway Envelope (Manual)
    =====================
    In addition to the business document such as a purchase order or invoice in the XML Payload, a set of message attributes are transmitted. Collectively, these attributes are called the XML Gateway envelope.
    This section discusses the XML Gateway envelope and its data in the validation process for inbound messages, or its source of data for its creation for outbound messages. Data entered into the Trading Partner Setup form is referred to as data in the trading partner table. Data entered into the Define Transactions form is referred to as data in the transaction table.
    Most of the data elements are copied from the Trading Partner tables or the Transaction tables to the XML Gateway envelope.
    Attribute
    =========
    MESSAGE_TYPE
    MESSAGE_STANDARD
    TRANSACTION_TYPE
    TRANSACTION_SUBTYPE
    DOCUMENT_NUMBER
    PARTYID
    SOURCE_TP_LOCATION_CODE
    PARTY_TYPE
    PROTOCOL_TYPE
    PROTOCOL_ADDRESS
    USERNAME
    PASSWORD
    ATTRIBUTE1
    ATTRIBUTE2
    ATTRIBUTE3
    ATTRIBUTE4
    ATTRIBUTE5
    PAYLOAD

    First of all EBiz and B2B/BPEL are two different products meant for different purpose and hence you cannot expect that EBiz and B2B/BPEL should have same functionality.
    Whatever headers you have mentioned, those are added by OXTA (Oracle Transport Agent) which is part of EBiz. You can add almost all these headers in Oracle B2B in "Additional transport headers" section of Transport Protocol Parameter.
    Search for "Additional transport headers" at below link -
    http://docs.oracle.com/cd/E23943_01/user.1111/e10229/b2b_tps.htm#BABBCDHI
    Regards,
    Anuj

  • How to put edfact file using b2b adapter

    All,
    I have to print a edifact file and place it in a certain location using b2b and soa. could you please let me know how this could be done. in the b2b console i could see only listening channels. could this be done directly through b2b adapter or should i use soa adapter.. if either how..
    pls guide..
    regards
    Rakesh

    hi Anuj,
    i went through the docs
    1. the doc with the sample is hard to understand. i opened the composite, but i guess the b2b config changes also needs to be done. they are not clearly mentioned in the doc.
    2. cant find details to create outbound adapter in edifact faormat...
    you aware of any other links or samples. Also I am new to B2B...
    regards
    Rakesh

  • Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550

    Hi Experts,
    We have many File to EDI scenarios wherein XI System pick up the XML and sent to customers via EDI. Recently we faced a problem so created a Back-up System (Production copy) and tested successfully. After sometime the messages were routed to this back-up system and when we notice it and then stopped the back-up system. All the messages that were routed to back-up system, we try to send the same messages from the actually Production system to our customers. Now the problem is XI system (Production system) is unable to pick these files and I check the communication monitoring and encountered the below error message.
    Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550.550
    Can anyone let me know how to fix the issue or what needs to be done?
    Your help is highly appreciated.
    Regards
    Faisal

    Hi,
    It seems to be problem with permission of files. Please ask your basis to do following:
    1. Set the permissions to FTP User you are using as 777 rights(full access to read , write and delete)
    2.If you have access to PI server, try to telnet /connect to ftp using command prompt (open ftp .....) the FTP server form there, you should see the same error there , inform this to your network guys.
    3.Clear all the files places already in the ftp (take backup) and test afresh after permissions are set by basis team.
    Regards
    Aashish Sinha

  • Quality of service in Receiver file/ftp adapter (SAP PI 7.1)?

    Hi,
        We are building an IDoc to File scenario in SAP PI 7.1, where a single incoming idoc will create three different output files. Also files must be created in target server in a specific order.
        Our first idea to ensure that files would be created following a specific order was that Message mapping (in Java) build target payload with all three files following expected sequence.
        In addition, receiver file/ftp adapter is setup with a dynamic variable to create each file with a different filename adding also timestamp.
        Testing the scenario, we see that three files are created in target server but when we sort them by creation date, it seems they don't follow always same sequence.
        Sometimes adapter creates File1, File2, File3; next time it created File2, File1, File3 and so on.
        Our problem is that files must be created always with a specific order and we cannot use BPM. Does anyone know if a receiver file/ftp adapter can be setup to create files following specific sequence (EOIO)?
        I know that sender file/ftp adapter can be setup with a quality of service, but I didn't find anything similar for Receiver file/ftp adapter.
        Suggestions will be welcome.
    Kind Regards,
    Aitor

    Hi,
         First, thanks all of you for your quick answers. They were helpful because we learnt a new configuration setting.
         We tried your suggestions but they didn't really fix our problem.
         Finally interface has been re-designed and we will not have to apply this logic, so no issue from our side.
         However, let me continue with this topic in case that somebody else will have the same issue, then it will be able to review this thread.
         When adapter created the files in the target directory (windows server), files had the expected timestamp in each filename. However, if we sorted windows directory contents by "Date Creation", files were sorted different that timestamp shows in the filename.
         For example, adapter created following files:
    File1_20090325-115117-169
    File2_20090325-115117-174
    File3_20090325-115117-180
         But when we sorted windows folder contents, files were sorted as follows:
    File2_20090325-115117-174
    File1_20090325-115117-169
    File3_20090325-115117-180
         It seems that timestamp was pre-assigned by the adapter, but when adapter created the files, it did it with a temporary name and finally assigns the filename. If a file size was bigger than other, maybe it takes more time and windows creation date is higher.
         If so, it means that adapter is not following same instructions as itu2019s indicated in "maintain order at runtime" checkbox.
         Do you know if there is any way where we can push also the order in the adapter as we did in interface determination?
    Regards,
    Aitor

  • Problem when used ESB put file to AS400

    Hello All,
    I create ESB for put files from Win2003 to AS400 by outbound FTP Adapter Service.
    I never used AS400 before.I test esb with windows environment it work but when move to as400 that error.
    I test with FTP command i can put file like below.
    F:\ProductionProject\ESBdeployLib>ftp 172.16.8.59
    Connected to 172.16.8.59.
    220-QTCP at AS400DEV.
    User (172.16.8.59:(none)): HATCYRD
    331 Enter password.
    Password:
    230 HATCYRD logged on.
    ftp> put deploy.bat
    200 PORT subcommand request successful.
    150 Sending file to member BAT in file DEPLOY in library YRDDTALIB.
    226 File transfer completed successfully.
    ftp: 50 bytes sent in 0.00Seconds 50000.00Kbytes/sec.
    I want to put file at root directory of ftp.
    What value that I should set directory specific to logical Name with end point properties parameter name "outgoingFilePath".
    and error that not display.
    this is error when I set outgoingFilePath with value 'YRDDTALIB'.
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException:
    esb:///ESB_Projects/temp_ESB_YBRTServiceProject_localhost/putLOG_DOMESTICCARLOCATION.wsdl [ Put_ptt::Put(Root-Element) ] - WSIF JCA Execute of operation 'Put' failed due to: Wrong logical to physical
    output directory mapping. No mapping found for logical output directory to physical output directory. ; nested exception is: ORABPEL-11047 Wrong logical to physical output directory mapping. No mapping found for
    logical output directory to physical output directory. For the value specified in the (Physical/Logical)Directory parameter, ensure that the mapping from logical name<->physical directory is correctly specified in the
    deployment descriptor. at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:623) at
    this is error when I set outgoingFilePath with empty value '' or '.'.
    [ Put_ptt::Put(Root-Element) ] - 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
    Regards,
    Weerawat

    Hi James
    from link:[http://www.mcpressonline.com/networking/general/the-one-as/400-ftp-command-you-must-understand.html]
    I found FTP by ESB not support AS400 .I think because ESB work on mode "NAMEFMT 1"
    but normal it must be "NAMEFMT 0" .
    if NAMEFMT 0 it view mode library and can't see "/" root path.
    I develop java program for FTP to AS400 that work correctly but esb can't.So I think ESB work on "NAMEFMT 1".
    this is result of ftp command
    Connected to 172.16.8.59.
    220-QTCP at AS400DEV.
    220 Connection will close if idle more than 5 minutes.
    User (172.16.8.59:(none)): HATCYRD
    331 Enter password.
    Password:
    230 HATCYRD logged on.
    ftp> ls
    200 PORT subcommand request successful.
    125 List started.
    TEST_23.TOP
    YBRT.YBRT
    YDLV.YDLV
    YEQM.YEQM
    YGPX.YGPX
    YISU.YISU
    YSTS.YSTS
    250 List completed.
    ftp: 96 bytes received in 0.16Seconds 0.62Kbytes/sec.
    ftp> pwd
    257 "YRDDTALIB" is current library.
    ftp> quote site name 1
    250 Now using naming format "1".
    ftp> pwd
    257 "/QSYS.LIB/YRDDTALIB.LIB" is current library.
    ftp> ls
    200 PORT subcommand request successful.
    125 List started.
    TEST_23.FILE/TOP.MBR
    YBRT.FILE/YBRT.MBR
    YDLV.FILE/YDLV.MBR
    YEQM.FILE/YEQM.MBR
    YGPX.FILE/YGPX.MBR
    YISU.FILE/YISU.MBR
    YSTS.FILE/YSTS.MBR
    250 List completed.
    ftp: 168 bytes received in 0.31Seconds 0.54Kbytes/sec.
    ftp>
    ftp> cd /
    250-NAMEFMT set to 1.
    250 "/" is current directory.
    ftp> open 172.16.8.59
    Connected to 172.16.8.59.
    220-QTCP at AS400DEV.
    220 Connection will close if idle more than 5 minutes.
    User (172.16.8.59:(none)): HATCYRD
    331 Enter password.
    Password:
    230 HATCYRD logged on.
    ftp> put TEST /QSYS.LIB/YRDDTALIB.LIB/TEST_01.FILE
    200 PORT subcommand request successful.
    150 Sending file to member TEST_01 in file TEST_01 in library YRDDTALIB.
    226 File transfer completed successfully.
    ftp: 6 bytes sent in 0.00Seconds 6000.00Kbytes/sec.
    ftp> pwd
    257 "/QSYS.LIB/YRDDTALIB.LIB" is current library.
    ftp> ls
    200 PORT subcommand request successful.
    125 List started.
    TEST_01.FILE/TEST_01.MBR
    TEST_23.FILE/TOP.MBR
    YBRT.FILE/YBRT.MBR
    YDLV.FILE/YDLV.MBR
    YEQM.FILE/YEQM.MBR
    YGPX.FILE/YGPX.MBR
    YISU.FILE/YISU.MBR
    YSTS.FILE/YSTS.MBR
    250 List completed.
    ftp: 168 bytes received in 0.13Seconds 1.34Kbytes/sec.
    ftp>
    I want to put file by FTP on my login library name "YRDDTALIB".
    Normally if mode NAMEFMT 1 in ftp command must used "put TEST /QSYS.LIB/YRDDTALIB.LIB/TEST_01.FILE ".
    Can ESB to do this ?
    If FTPadapter support NAMEFMT 0 how i set to NAMEFMT 0 ?
    this is my oc4j-ra.xml
    <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
              <config-property name="host" value="172.16.8.59"/>
              <config-property name="port" value="21"/>
              <config-property name="username" value="HATCYRD"/>
              <config-property name="password" value="PASSWORD"/>
              <config-property name="ftpAbsolutePathBegin" value="/"/>
              <config-property name="ftpPathSeparator" value="/"/>
              <config-property name="keepConnections" value="true"/>
              <config-property name="serverType" value="unix"/>
              <config-property name="serverLocaleLanguage" value=""/>
              <config-property name="serverLocaleCountry" value=""/>
              <config-property name="serverLocaleVariant" value=""/>
              <config-property name="serverEncoding" value=""/>
              <config-property name="useFtps" value="false"/>
              <config-property name="useImplicitSSL" value="false"/>
              <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
              <config-property name="walletPassword" value="welcome1"/>
              <config-property name="channelMask" value="both"/>
              <config-property name="securePort" value="990"/>
              <config-property name="keyStoreProviderName" value=""/>
              <config-property name="keystoreType" value=""/>
              <config-property name="keystoreAlgorithm" value=""/>
              <config-property name="enableCipherSuits" value=""/>
              <config-property name="proxyHost" value=""/>
              <config-property name="proxyPort" value=""/>
              <config-property name="proxyUsername" value=""/>
              <config-property name="proxyPassword" value=""/>
              <config-property name="proxyType" value=""/>
              <config-property name="proxyDefinitionFile" value=""/>
              <config-property name="useProxy" value="false"/>
              <config-property name="useSftp" value="false"/>
              <config-property name="authenticationType" value="password"/>
              <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
              <config-property name="preferredCompressionAlgorithm" value="none"/>
              <config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
              <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
              <config-property name="privateKeyFile" value=""/>
              <config-property name="preferredCipherSuite" value="blowfish-cbc"/>
              <config-property name="transportProvider" value="socket"/>
              <connection-pooling use="none">
              </connection-pooling>
              <security-config use="none">
              </security-config>
         </connector-factory>
    Thank
    Weerawat
    Edited by: user1442964 on May 6, 2009 12:54 AM
    Edited by: user1442964 on May 6, 2009 3:14 AM
    Edited by: user1442964 on May 6, 2009 3:15 AM

  • Using XSLT on File Adapter

    Hi guys,
    I developed a XSLT and was trying to use it on my File/FTP Adapter. I've read Michael's blog but nothing seems to happen.
        /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    The only thing I can see is on the message monitoring the following processing:
    MP: Entering module processor
    MP: Processing local module localejbs/AF_Modules/MessageTransformBean
    Transform: using Transform.Class:  $identity
    Transform: successfully transformed
    From what it seems everything is fine but nothing happens. Most likely, there is some kind of error on the XSLT, eventhough I've tested it and everything runs well.
    Is there any log where I can check all the steps that are going through?

    Hi Stefan,
    It was a typo...
    Transform.class -> Transform.Class.
    Thanks in advance for the your replies. Points Awarded

Maybe you are looking for

  • Problem with return value of stored function

    Hi, I've made a stored function that insert a new row in a table and return the primary key (see at the end of the message the function script). In VS 2005 with Visual basic, using the designer, I've created a dataset containing a tableAdapter to be

  • Regarding small issue

    Hi, i have a simple select stmt with where condition,when i execute this query it is taking too much time what are the step i have to take and how can i avoid this time consumption.please help me regarding this issue

  • Connecting to Windows PC from iMac

    I manage to get a connection but I get SMB/CISF File System Authentication asking for a password but I don't have a password to the windows profile. How do I get past it? It shows; Workgroup - I understand this and it shows the right work group Name:

  • Select list within a report

    Hi All I need help creating a report with the first column as a select list and the other columns (4 of them) will auto populate based on the selected item. This is a report region on form that will update a table when submitted. My Table: Cost Cente

  • Address problem in sapscript

    Hi, I'm creating a sapscript for Sales order, my problem is this: when the order is sent to foreing country I would to print the country name, else the country name hasn't is displayed. Thank you.