Sender File Adapter (FTP Protocol)

Hi Every Body,
I have a problem in using Sender File Adapter of (FTP Protocol Type)
I have given all required settings to get connected to the FTP Server.
When i give ( Source Directory and Exact File Name ex : MDMERP.xml)
File gets picked up.
But When i give (Source Directory and Exact File Name ex : *.xml)
it gives below exception
Error occurred while connecting to the FTP server "mdmerp6:21": java.net.ConnectException: Connection refused: connect
Strange any guess !! :(((
Regards
Srinivas

Hi,
If that is connection error then it should have not allowed to pick up when i have given the specifif file name ,
.xml is too not working
my problem all starts if i use other than file name declarartion it throws error
of below kind
Error occurred while connecting to the FTP server "mdxxxp6:21": java.net.ConnectException: Connection refused: connect
Can i use " Advanced Selection of Source File" and make it run\
With regards
Srini

Similar Messages

  • Using wildcards (*) in sender file adapter - FTP type

    Hi guys!
    Dooes it work using wildcards in sender file adapter (FTP type(!) (filesystem obviously work))? I tried it and it failed. it works only for exact name..
    I read some articles about FTP and the result is, that ftp work always only with 1 file, so I'm wondering, if this is possible.
    Thanks for info!
    Olian

    Thanks for all replies..
    I know of course, that * can be used, I use it in many scenarios too. But on a FileSystem. It is not working if the sender type is FTP.
    *, ., *.dat, ...  nothing like that works..  Just exact file name.
    I am able to pick up file, if I specify it's exact name, so there should be no problem with permissions..
    Please, I'd appreciate one reply with comfirmation: yes, we are using asterisk (*) , we access source files via FTP and they are processed.
    Is there anybody with this experience, that it works?
    Thank you!
    Olian

  • Sender File Adapter - FTP

    XI is picking up While File is being written in the Specified Directory. XI uses File adapter ( FTP transport Protocal ) . If file being written is very large ( It may take couple of minutes ) XI picks it up in parts for every 1 minute ( It was configured like that ) and try to send over Which is not correct. Is there any workaround to this issue. In PI 7.0, for NFS file system,  SAP included modification check but it doesn't work for ftp file adpater. Basically XI should wait to pickup file until the file written completely in the Source System.
    Anyone have any Idea how to overcome this issue ?

    Hi,
    You could use the Advanced mode checkbox in the file adapter, to specify the time the adapter has to wait, before it checks if the file has been modified.
    In case, the file has been modified, after the adapter read the file, the data in the adapter cache is discarded and the updated/modified file is taken from the source path specified.
    This would work, only if you have not specified "recordsets per message" during content conversion.
    Regards,
    Smitha.

  • SENDER FILE ADAPTER (FTP) ERROR

    Hi,
    Iam getting the following error in sender file adapter:
    Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550 *** ERROR *** NO BATCHES FOR TRANSMISSION
    Could anyone help me in this.
    Thanks &Regards,
    Kiran

    Hi Kiran,
    This problem is not related to PI but rather related to FTP server settings.
    Try changing the name of the file in your adapter settings to a string without any dots and ".
    Try this and let me know if its successful.
    Regards,
    Divya

  • Failover solution for Sender File Adapter (FTP)

    Hi guys,
    I have a scenario FTP->Idoc. Is it possible within PI to create a functionality, that if a connection to one FTP fails, it will switch to another FTP?
    Thank you,
    Peter

    Hi,
    You may maintain two seperate Sender adapters with seperate FTP server and fix the polling interval to sequence the calling of file.
    But if the file is available on both the FTP servers then there will be two calls always.
    So you need to maintain the file in any one of the FTP server.
    But this is just the manipulation, not the precise solution. You may go for BPM also
    In communication channel there is no such feasibility. Probably you may need to go for customized adapter modules.
    Thanks
    swarup
    Edited by: Swarup Sawant on Sep 2, 2008 11:42 AM

  • Sender File Adapter - FTP Connection Error 530

    Need help!!!
    I am getting the following error in XI when I try to connect to an ftp server.
    "An error occured while connecting to server xxx.xx.x.xx:xx. The FTP server returned the following error message:'com.sap.aii.adapter.file.FTPEx: 530 Can't open passive connection---(4013)'. For details, contact FTP server vendor"
    When I try the FTP connection on the OS level I am able to log in, but through XI I am unable to.
    Has anyone seen this error before?

    I have seen Error Code 530 earlier, it is typically related to login related issues.
    Check if the user mentioned in the Comm Channel has the correct password and read as well as write rights on the Server.
    The most likely problem is with the User Credentials or Authorizations

  • Zero size files in Sender File Adapter

    Hello!
    I have the problem with my Sender File Adapter (ftp).
    Sometimes in ftp directory there are empty files or messages with a zero-sized payload.
    This situation cause an error and Adapter "sleep" until I save-active it in a configuration. (before I removed the 0-size file...).
    Any suggestion?
    Thanks
    Alessandro

    Hi ,
    What the note states is that if your Sender File adapter picks up and empty file, then it would not trigger any message at all.
    So, if what that note says is correct, then I guess for the empty file, the adapter would not ve passed any message to the integration engine.
    Is there any entry in SXMB_MONI? If yes, then it means some message is actaully being passed by the adapter engine to the integration engine which shouldnt have happened at all.
    What does the error message in the File Adapter state?
    Regards,
    Bhavesh

  • Sender File Adapter Not Showing in Decentral Adapter Engine

    Hi,
    We have recently implemented a Decentral Adapter Engine on a windows box. The adapter engine seems to be working fine because my adapters show and seem to work fine in it.
    However, when I define a Sender File Adapter that uses File Content Conversion message protocol instead of just File messaeg protocol, the adapter does not show up in the decentral adapter engine.
    I made sure that Adapter Engine parameter in the Sender File Adapter shows the new adapter engine but that does not seem to be working. If change the Adapter Enginer parameter to show the Central Adapter Engine, then I can see the Sender File Adapter on the Central Adapter engine and it works fine. (Note: The Central Adapter Engine is installed on a Unix box) 
    Here are the paramters I defined for the Sender File Adapter:
    - Transport Protocol: File System (NFS)
    - Message Protocol: File Content Conversion
    - Adapter Engine: (new Adapter Name)
    Source Directory: (
    server/drive/path)
    File Name: purchaseOrder.txt
    Quality of Service: Exactly Once
    Poll Interval (secs): 60000
    Poll Interval (msecs):
    Retry Interval (secs):
    Processing Mode: Archive
    Add Time Stamp (checked)
    Archive Direcotry: (
    server/drive/path/archive)
    Process Read-Only files: (not checked)
    Processing Sequence: By Name
    Fiel Type: Text
    File Encoding:
    Operating System Command:
    Additional Files (not checked)
    Content Conversion Parameters
    Document Name: MT_Request_File_Data
    Document Namespace: http://nxy.tots/fg_admin
    Document Offset:
    RecordSet Name: Purchasing
    RecordSet Namespace:
    RecordSet Structure: Purchase_Record,*
    RecordSet Sequence: Ascending
    RecordSets per Message: 1
    Key Field Name:
    Key Field Type: String(Case-Insensitive)
    Purchase_Record.fieldFixedLengths: 8,4,2,10,10,12,18,12
    Purchase_Record.fieldFixedType: char
    Purchase_Record.fieldNames: Request_Action,Request_PO_Num,Request_PO_LN,Request_PO_Date,Request_Purchasing_Org,Request_Purchasing_GName,Request_Created_By,Request_Vendor_Name
    Purchase_Record.fileContentFormatting: trim
    Adapter Status: Active
    Advanced Mode: (not checked)
    Your help is much appreciated.

    Hi Alaa,
    look into this document:
    http://service.sap.com/nw-howtoguides -> Exchange Infrastructure -> Troubleshooting: Adapter Engine 3.0 (Expert Call slides)
    If the File Adapter works without conversion, then you should count the number of fields in a row. If it differs from the configuration, then it runs on error.
    Another idea is to check the content type of the file. When you do not enter a File Encoding, then the file adapter assumes utf-8. If the file is for example latin-1, then the number of characters in a row are not counted correctly.
    Regards
    Stefan

  • Sender File Adapter - remote FTP server program execution

    Hi all,
    I have a scenario
    X12 -> XI -> File
    where sender File adapter is used. The input file is X12 txt document which needs to be converted into X12 xml format. I have created astylus studio XSLT mapping which uses Convertor to convert this txt file to X12 XML.
    I don't know how to configure sender file adpater to run this mapping on the source file before picking it up. have created a windows batch file on the FTP server which runs tis XSLT mapping on the txt file and replaces it with X12 format xml. This batch file uses command line parameters of stylus studio to run XSLT mapping on input txt file and generates an xml.
    I am not sure how to run this mapping on the input file before processing starts in PI file adapater.
    I tried running command line parameters of Sender file adapter but that didn't worked.
    Please help.
    Thanks
    -Kulwant

    Hi, Kulwant:
    Looks like you would like to execute your mapping program before file adapter pick it up.
    Right ? for one interface, it seems out of the XI scope, however if this is your requirement, you can separate into two interfaces:
    The first interface is file to file scenario, it is used to execute your mapping program:
    The file sender just pick up the txt file, send to integration engine.
    Your Message Mapping program need to specify your XSLT mapping, after the mapping, the message is XML format,
    then you will use file receiver to send it to certain directory.
    Now the XML format file is your input of your second interface.
    Regards.
    Liang

  • Sender File Adapter  not able to get file via FTP from an external system

    Hi,
    I have a Sender File Adapter using FTP which polls a server every 10 seconds looking for a file ".xml".  The adapter will connect and pick up the waiting file, but sometimes the adapter not able to get file via FTP from an external system. The file is on the server, but despite the polling, the adapter does not pick up it. There is no return error.
    The connect mode is Permanently and the transfer mode is Binary.
    Can you help me?
    Thanks.
    T.

    Hi Teresa,
    does this case appears with a file size higher the others?
    Personally, I do not recommend to have a polling under 1min.
    10s could be too just, if the file is not small and/or if the file server is far (several kilometers) to where the Adapter Engine is, and/or this file server is beside a firewall. Do not forget also that, with previous points, you could have like a conflict, betwen the 1st polling and the 2nd polling, if in less 10s PI adapter has not enough time: to connect to the FTP server (several Km), find the file (perhaps among 100 other files in the directory), go back to the file to Adapter Engine server (several Km again), convert your file to XML message (with a complex Content Conversion), then check the XML structure, and when all that is done, return back to FTP server (several Km), to archive the source file... Well It's my understanding of a FTP exchange with FILE adapter...
    If you really need a 10s polling, that's mean your have a pseudo real time interface. In that case, in my mind file should not be used! but we should use a Web service, JDBC JMS (any exchange without a physical object like a file). For me, it's a non-sens to have a file in that case.
    regards.
    mickael

  • Issue while fetching the file through *.extension by FTP sender file adapte

    Hello Experts,
    I am facing a issue while fetching the data through sender File adapter with  ' *.file extension' .I am illustarting the scenario as below .
    It is a simple scenarion of File to File inboumd scenarion.Here file is getting picked up from a third party system
    through FTP sender chanel and stored in a temp folder of PI through NFS rceiver file adapter .
        The problem is however I am getting, while picking the file with file name as "*.exo"(where exo is the file extension).
    But while fetching the file with particular name like"abcd_10032011*.exo"(file naming has been done by combination of abcd(always same)_currentdate(change according to current date)),file picked successfully .
    So here ,in the prior case file not getting picked up,but in later case it dose .
    Can anyone please let me know what might be the issue?

    Hi Sunit,
    Connect from your PI System to 3rd Party System (where are placed the Source Files)
    FTP <PartySystemHostName>
    eg. FTP 10.2.3.456 (then insert Username & Password to Login)
    Go to source directory
    cd \<SourceDirectory>
    eg. cd \donaldduck\directory\
    Execute a File List command
    ls -la *.<extension>
    eg. ls -la *.exo
    In this way you should be able to view all files with this extension (*.exo), the same action that Sap XI perform to pickup the file.
    Then, try to copy that file to your Local PI System (to check if there're some permissions issue):
    mget <filename>.exo
    eg. mpget File1_01012011.exo

  • 'Source Directory doesn't exist' error in sender file adapter

    Hi All,
    I m getting the error 'Source Directory doesn't exist' in sender file adapter.
    The source file directory doesn't exist in XI Server. Its in a different system.
    gone through other sdn t hreads.
    the options seems to be
    1. either to mount the Source Directory on the XI Server.
    2. Install a FTP server and use FTP protocol.
    My doubt is that, could nt we give necessary access rights to the XIAFUSER whihc will access the Source Directory?
    Wont it be sufficient?

    Hi Aarthi,
    If you are using system other than XI, then you have to use FTP server
    else check you have proper authorization of read/write to the source directory...
    and check the name of it as well, as it is case sensetive and you have provided the proper details of server.
    check these blog as well...
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
    Sachin
    Edited by: Sachin Dhingra on Mar 24, 2009 12:16 PM

  • Using sender file adapter to read the most current file

    Hi,
    in my sender file adapter , i have to read the latest file- all files in  the source directory are named as <filename><timestamp>.txt . I need to read the file with the latest timestamp (i.e. the most current file )
    How do i configure this using file adapter.
    thanks

    Hi Sreeram,
    thanks for the answer- but i found that the option can only be used with NFS transport protocol. what if i am using FTP ?
    alos, by date option means- files are processed according to their time stamp in the file system, starting with the oldest file.
    However in my case i only want to read the latest file and ignore the older files.
    Thanks

  • Send a mail if no file in Sender File Adapter

    Hello guys,
    I have one doubt. I have a sender File adapter with FTP transfer protocol. I want to pull the file every 24 hours. If the file does not exist, there is any way to have an error and send a mail to the client?
    Is a requierement to do one interface, they want that XI sends a mail if no file is encounteref in the server when XI goes to pull the file. Is this possible?
    Many thanks in advance.
    Regards,
    Xavi.

    Hi,
    Refer to following link
    Read Excel instead of XML through FileAdapter
    This has good example of developing module. Only code is available. For further help you can look in Help.sap for crating module they also provide sample code.
    No need to call alert from module . go upto 24 hars if no file is received set your own structure.
    Give condition in receiver detrmination to send mail if file is not picked.
    revert back for any clearity.
    Thanks
    Sunil Singh

  • Sender File adapter not picking the file ABCD.PRN extension file

    Hi
    Am doing File to Abap Proxy scenario. My source will be in text format of fixed length of fileds 7.
    My souce file will be generated by a third party machine with the extension EEE150809.PRN. In my scenario my file adapter should pick the file and update the same in ECC via a Proxy.
    I have configured the Sender File adapter with Message Protocol -  Content Conversion but file adapter is not picking the file. I have checked the Communication channel and status is fine. But the same Communication Channel works for .XML file.
    What are the parameters that I have to consider with the file extension .PRN using File adapter?
    Thanks.
    S.

    Hi Swarna,
    You dont need to worry about the extension when picking the file. You can try using EEE* so that is picks all the files starting with EEE. If you have the fixed name then you can try giving EEE150809.*. Also EEE150809.PRN should not have any issue. Try to see in sender commu ication cahnnel for anyerrors. Probably there might be some network issues or authorisation issues. If you are reading with NFS then ask them to give necessary permissions. If you are reading through FTP check the user id and pwd you are using.
    Regards,
    ---Satish

Maybe you are looking for

  • How can i update my mac os x 10.4.11

    I currently have an old macbook with mac os x 10.4.11 software. I am looking to update my software with the latest update available. Where should i begin and what update should i use?

  • Nokia 5230 - using it with the car speaker

    i possible to use the nokia 5230 with my car speaker. I want to use my phone on the car speaker, while driving. I am able to use aux to connect the nokia to my mp3player in the car, but i cant seems to use it on the voice calls. (it works fine if i u

  • How to pause output in command prompt

    I have 10 sentence for instance, i want to display one sentence each time i press enter. Does anyone know how to do it in java?(command prompt)

  • Changing system font colors?

    Hi community, I have been always a lover of dark backgrounds with light color fonts because it's much better for reading, at least for me. 1) Is there any way to change the way the system fonts color is displayed? I could change the background color

  • Preset Template

    I have 35 second ready made AE template from Pond5. This template is very easy to work with, just drop your photo and text, you are good to go. And now I have a problem, duration is too short when the text are displayed. They claimed, these template'