Sender FTP Adapter (file transfer w/o mapping)

Hello everyone!
Is there a way to configure a Sender FTP Adapter such that it simply picks up a file in an FTP folder then moves it to another FTP folder without changing any data (no mapping needed)?
I tried doing it, but the Sender Agreement requires you specifiy an Outbound interface (which is not needed in this case). Would anyone of you know a workaround to this?
Warm regards,
Glenn

Hi
Use dummy interface name. But that should be same in ID objects
Check this
How to send any data (even binary) through XI, without using the Integration Repository
Thanks
Gaurav
Edited by: Gaurav Bhargava on Oct 29, 2008 9:48 AM

Similar Messages

  • Strange Problem in File Archiving - Sender FTP Adapter

    Hi,
    The scenario is file to IDOc. XI has to read the input file from client FTP server and archive it to XI local file server.
    File is archived properly without FCC (for xml files). But with FCC, the sender FTP adapter is archiving empty files (0 kb files) not the original file with data.
    I've checked SXMB_MONI, even there I can see the file data and the IDoc is getting posted with proper data. But, the archived file is empty. Not sure about the problem.
    Please suggest. Thanks in advance.
    Regards,
    Joe.

    Hi,
    I've already tried archiving the file to the FTP server itself, it's working fine (even with FCC). But, when I try to archive it to the XI server (read from FTP and archive at XI server), it's writing empty file to the XI archive directory. I'm using PI 7.0 SP 14. My sender FTP adapter dtls follow
    Data Connection: Passive
    Timeout Secs: 500
    Connect Mode: Permanently
    Transfer Mode: text and binary tried both
    File type: text and binary tried both..
    Looking out for a solution.
    Thanks,
    Joe.
    Edited by: Joe on Jun 19, 2008 8:07 AM
    Edited by: Joe on Jun 19, 2008 8:08 AM

  • Sender FTP Adapter, text mode should convert source file?

    Hi !
    We have a Unix file system where systems and people drop files to be captured by XI. XI runs also on another Unix system.
    We configured the Sender FTP comm channel from XI to use the TEXT mode, to have converted the captured file to Unix TEXT (eol = 0x0A), no matter the format of the file used to transfer the source file to the XI polling folder.
    But we noticed that TEXT or BINARY modes in sender FTP adapter works all the same, like binary.
    What are we doing wrong?
    Thanks,
    Matias

    No. to see the difference put a gif and give txt in file adapter you will get an error for the same file u use binary it works.
    their is difference b/w these . if you use special characters like european then you need to use UTF-8 or UTF-16 or bigInidan  if it is binary then you output will junk charaters for these sysmobls
    Message was edited by:
            Sreeram Reddy

  • Error with Archiving Faulty Source File in Sender FTP adapter

    Hi All,
    I have configured a Sender FTP adapter with Processing Mode as Archive.
    I am able to read the files from FTP server and archive all the successfuly processed file in the PI aplication server directory XXX/success.
    We need all the error files also to be archived on PI application server in directory XXXXX/Fail so I have checked the option Archive faulty Source Files and provided the application directory  XXXXX/Fail .
    I have unchecked the option Archive Files on FTP server.
    But the problem is when FTP adapter is getting any error files it is not able to archive it to application directory  XXXXX/Fail .
    In RWB it is showing the error
    Unable to archive faulty input file /data/abc.txt to /XXXX/fail/abc.txt
    Cause: com.sap.aii.adapter.file.ftp.FTPEx: 550 rename: No such file or directory
    This directory is existing and works fine when I give this directory name in Archive directory of processing mode.
    Sender FTP adapter is trying to archive the file in FTP server which I dont want and giving us this error.
    If I give any Directory which is present in FTP server my error files are getting archived on FTP server but not in the archived folder.
    I have already unchecked the option Archive Files on FTP server.
    Please help......
    I am on PI 7.11
    Regards
    Henery H

    Hi Henery,
    Check the below thread, this should help you to fix the issue.
    FTP adapter: exc. 550 : No such file or directory
    Thanks,

  • Sender FTP Adapter not working with certain name

    Hello,
    We're facing the next problem within XI.
    We configured a sender FTP adapter within the central adapter engine. This adapter is configured correctly however for some reason it is not picking up any file from the FTP server.
    Changing status to inactive-> active again all kinds of modes and configs we tested.
    However when copying this non-working adapter to a new one with a different name (Configuration is exactly the same!!!!!) and use this one in the sender agreement it worked immediately.
    Somebody else faced similar problems and managed to solve it because for this error we don't want to adjust our naming conventions....
    Thanks,
    Emile

    Hi Emile,
    This could happen when AE cache is not getting updated.
    Goto SXI_CACHE.
    Click "Goto" -> AE Cache and check if you get a green symbol with a message saying " Cache contents are up-to-date".
    Regards,
    Anish

  • No Source Directory on Sender FTP Adapter

    Hi Guys,
    I am using a sender adapter to poll an external FTP Server. The adapter is able to see the server fine.
    My problem lies in this:
    The company in charge of the FTP server has put a restriction disallowing the 'cd' command on the ftp server.  Now in the sender ftp adapter, the source directory is a mandatory field and therefore if nothing else, I need to put a '.' into the source directory.
    This in effect will do a cd . when it logins into the ftp server.  It is here that I get an error because command cd is disallowed.
    Does anyone know how I can prevent the sender ftp adapter from automatically doing a cd command i.e. have no source directory?
    Thanks,
    Miguel

    Hi,
    I think it is not possible with file adapter .
    Have a look into this SAP note -821267 Question no 27,34.
    It may give some inputs
    Regards,
    Moorthy

  • Soa 10g Ftp adapter file  size

    Hi,
    I am using a ftp adapter to transfer files. I am placing a 9kb file but after the transfer at the destination I find the file transferred but the file size is 2.8kb. Please do suggest me the possible solution and the reason for this issue
    Thanks

    What 10g version do you have?
    Try adding the following property to your outbound ftp wsdl file:
    <partnerLinkBinding name="xxxxx">
    *<property name="control.read.timeout">10000</property>*
    </partnerLinkBinding>
    (it's in milliseconds)
    Arik

  • FTP Adapter - file.sender.customizer_class

    Hey,
    Anyone has a working example on how to implement this class?
    I have one class, and apparently, in its simplest form it could be something like this:
    package slf.nask.FileSender;
    import java.util.Date;
    import oracle.oai.agent.adapter.sdk.Agent;
    import oracle.oai.agent.adapter.sdk.AttributeObject;
    import oracle.oai.agent.adapter.sdk.MessageObject;
    import oracle.oai.agent.adapter.technology.FileSenderCustomizer;
    import oracle.oai.agent.adapter.transport.TransportMessage;
    public class SLFNaskFileSenderCustomizer implements FileSenderCustomizer {
         public static void main(String[] args) {
              System.out.println("Interconnect renaming facility!");
         public String generateFileName(Agent agent, String rule, String app,
                   String partitition, Date time, MessageObject mobj,
                   AttributeObject aobj) {
              return "MyFilename.xml";
         public void customizeTransportMessage(Agent agent,
                   TransportMessage transportMessage, MessageObject mobj,
                   AttributeObject aobj) {
    But I keep running into an error when running the adapter. If i comment out this class, it works fine, but once this class is in, it keep getting a parseLong error.
    Log entry:
    TransportProperties.TransportProperties():ota.d3ls=agresso_customer.xml;file.sender.type=ascii;file.receiver.max_msgs_retrieved=30;file.receiver.exception_dir=file://localhost/R:\nask\errors;file.sender.customizer_class=SLFNaskFileSenderCustomizer;ota.type=D3L;file.sender.file_name_rule=NA%TIME%_3.c15;ota.send.endpoint=file://localhost/R:\nask\AgressoFTP\TEST;file.receiver.polling_interval=60000;
    java.lang.NumberFormatException: 1240438527
    4
         at java.lang.Long.parseLong(Long.java:319)
         at java.lang.Long.parseLong(Long.java:363)
         at oracle.oai.agent.common.logger.ErrorLogObserver.readNextLogObject(ErrorLogObserver.java:361)
         at oracle.oai.agent.common.logger.ErrorLogObserver.run(ErrorLogObserver.java:137)
         at java.lang.Thread.run(Thread.java:484)

    Looks like the fault here, was the package. Leave it empty and it should be fine!

  • FILE and FTP Adapter file size limit

    Hi,
    Oracle SOA Suite ESB related:
    I see that there is a file size limit of 7MB for transferring using File and FTP adapter and that debatching can be used to overcome this issue. Also see that debatching can be done only for strucutred files.
    1) What can be done to transfer unstructured files larger than 7MB from one server to the other using FTP adapter?
    2) For structured files, could someone help me in debatching a file with the following structure.
    000|SEC-US-MF|1234|POPOC|679
    100|PO_226312|1234|7130667
    200|PO_226312|1234|Line_id_1
    300|Line_id_1|1234|Location_ID_1
    400|Location_ID_1|1234|Dist_ID_1
    100|PO_226355|1234|7136890
    200|PO_226355|1234|Line_id_2
    300|Line_id_2|1234|Location_ID_2
    400|Location_ID_2|1234|Dist_ID_2
    100|PO_226355|1234|7136890
    200|PO_226355|1234|Line_id_N
    300|Line_id_N|1234|Location_ID_N
    400|Location_ID_N|1234|Dist_ID_N
    999|SSS|1234|88|158
    I would need a the complete data in a single file at the destination for each file in the source. If there are as many number of files as the number of batches at the destination, I would need the file output file structure be as follows:
    000|SEC-US-MF|1234|POPOC|679
    100|PO_226312|1234|7130667
    200|PO_226312|1234|Line_id_1
    300|Line_id_1|1234|Location_ID_1
    400|Location_ID_1|1234|Dist_ID_1
    999|SSS|1234|88|158
    Thanks in advance,
    RV
    Edited by: user10236075 on May 25, 2009 4:12 PM
    Edited by: user10236075 on May 25, 2009 4:14 PM

    Ok Here are the steps
    1. Create an inbound file adapter as you normally would. The schema is opaque, set the polling as required.
    2. Create an outbound file adapter as you normally would, it doesn't really matter what xsd you use as you will modify the wsdl manually.
    3. Create a xsd that will read your file. This would typically be the xsd you would use for the inbound adapter. I call this address-csv.xsd.
    4. Create a xsd that is the desired output. This would typically be the xsd you would use for the outbound adapter. I have called this address-fixed-length.xsd. So I want to map csv to fixed length format.
    5. Create the xslt that will map between the 2 xsd. Do this in JDev, select the BPEL project, right-click -> New -> General -> XSL Map
    6. Edit the outbound file partner link wsdl, the the jca operations as the doc specifies, this is my example.
    <jca:binding  />
            <operation name="MoveWithXlate">
          <jca:operation
              InteractionSpec="oracle.tip.adapter.file.outbound.FileIoInteractionSpec"
              SourcePhysicalDirectory="foo1"
              SourceFileName="bar1"
              TargetPhysicalDirectory="C:\JDevOOW\jdev\FileIoOperationApps\MoveHugeFileWithXlate\out"
              TargetFileName="purchase_fixed.txt"
              SourceSchema="address-csv.xsd" 
              SourceSchemaRoot ="Root-Element"
              SourceType="native"
              TargetSchema="address-fixedLength.xsd" 
              TargetSchemaRoot ="Root-Element"
              TargetType="native"
              Xsl="addr1Toaddr2.xsl"
              Type="MOVE">
          </jca:operation> 7. Edit the outbound header to look as follows
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified"
                    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/"
                    xmlns="http://www.w3.org/2001/XMLSchema"
                    xmlns:FILEAPP="http://xmlns.oracle.com/pcbpel/adapter/file/">
                <element name="OutboundFileHeaderType">
                    <complexType>
                        <sequence>
                            <element name="fileName" type="string"/>
                            <element name="sourceDirectory" type="string"/>
                            <element name="sourceFileName" type="string"/>
                            <element name="targetDirectory" type="string"/>
                            <element name="targetFileName" type="string"/>                       
                        </sequence>
                    </complexType>
                </element> 
            </schema>
        </types>   8. the last trick is to have an assign between the inbound header to the outbound header partner link that copies the headers. You only need to copy the sourceDirectory and SourceGileName
        <assign name="Assign_Headers">
          <copy>
            <from variable="inboundHeader" part="inboundHeader"
                  query="/ns2:InboundFileHeaderType/ns2:fileName"/>
            <to variable="outboundHeader" part="outboundHeader"
                query="/ns2:OutboundFileHeaderType/ns2:sourceFileName"/>
          </copy>
          <copy>
            <from variable="inboundHeader" part="inboundHeader"
                  query="/ns2:InboundFileHeaderType/ns2:directory"/>
            <to variable="outboundHeader" part="outboundHeader"
                query="/ns2:OutboundFileHeaderType/ns2:sourceDirectory"/>
          </copy>
        </assign>you should be good to go. If you just want pass through then you don't need the native format set to opaque, with no XSLT
    cheers
    James

  • 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

  • How to get outbound ftp adapter file name

    All,
    I am writing an ftp adapter sending out files. The file name is defined as po_%yyyyMMDD%.xml format. However, I need to save the filename into a database after each file is sent out. How could I get the filename after invoking this service? It is on soa 10.1.3.3.
    I tried to create a filename variable based on outbound message type and pass that long in the invoke header. But cannot get the name back. Any idea?

    Hi,
    Go thro' the URL:
    http://abhishek-soablog.blogspot.com
    Cheers,
    Abhi...

  • No Service Error: FTP Adapter file write

    Hi,
    I am trying to write a file to a FTP server (Windows).
    I am able to connect to the FTP through command prompt and put the files as well.
    And to connect to FTP through IE, I had to uncheck "Use Passive FTP" under Tools-Internet Options-Advanced and then I was able to access folders successfully.
    But through FTP adapter, I am getting No Service Error. Below is complete error message.
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
    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.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    ,detail=<detail>No Service Error.
    No Service Error.
    No service available for host: 10.91.10.38
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    </detail>
    ,code=<code>null</code>}
    Thanks

    I was contacted by our DBA team for an exception received while writing a file to a FTP location.
    Then i looked at the exception message and asked them to check the whether they are able to contact the ftp server using command prompt then they said the user password got expired.
    They reset the password and its working now.
    Am i missing something here :(
    Exception:
    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.
    Thanks,
    Vijay
    Edited by: veejai24 on 25-Jul-2012 07:10

  • Tab limited input in Sender FTP adapter

    Hi ,
       We are working on a scenario where by the file format in the incoming FTP adapter is tabdelimited...All  fields are seperated by '#'...Will XI be able to split the fields based on '#' and do the content conversion ??? What would be the parameter to be set to enable tab delimition?
    Thanks
    Teresa

    Hi,
    I had been researching on this ..And will a NameA.fieldSeparator = '#' help me in reading a tabdelimited file, '#' being the delimiter?
    Any help is appreciated...
    -Teresa

  • FTP Adapter File Size Limit

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

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

  • 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

Maybe you are looking for

  • EMAIL WITH REPORT NOT WORKING

    I have the Display version of this report working on line. Now, I am trying to email the report to the individual requesting the report. It is getting an error message on the second <table> saying it contains invalid data. I am working with a client

  • How to query a row based on its rownum

    Dear all, what is the easiest way to query a row based on its rownum? Suppose I have the following query: select first_name from employees where rownum<5; FIRST_NAME Ellen Sundar Mozhe DavidSo Ellen has rownum 1, Sundar 2 and so on. How can I do it i

  • Combo box select default value.

    Hi, I am using Combo box to display the status of the document. my code is oForm = SBO_Application.Forms.Item("I8_BGU_")                         Dim oCombo1 As SAPbouiCOM.ComboBox                         oForm.DataSources.UserDataSources.Add("ComboSr

  • Fix shm parameters in /etc/system

    Got this message: skgm warning: EINVAL creating segment of size 000000000202a000 fix shm parameters in /etc/system or equivalent in my ora_XXXX.trc with various sizes about a hundred times and then an out of memory error on my java stored procedure.

  • Example of form

    Dear All, I and new to Forms and is using 4.5 and 6.0 can anyone give me the free site address where I can download the examples build forms for my study. Having complex interface like Reference If anyone willing to help me with forms build by you wi