File.ftp.FTPEx: 501 Unexpected reply codeUnknown extension in database file name

Hi Folks,
I am trying to place file in the iSeries library folder and for this I am using a receiver file adapter with the following config, FYI, I am not using any FCC
Target Directory : /QSYS.LIB/XXXXX.LIB/
File Name Scheme : FILENAME.FILE
As I am doing this config for the first time I am using the following SCN discussion as my reference,
File FTP to AS400 Library folder | SCN
but i am still getting the error message at the receiver channel as below
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'XXXXXX:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unexpected reply codeUnknown extension in database file name.'. For details, contact your FTP server vendor.
Please let me know if anyone has anymore suggestions.

Hi Kalyan,
The File Name extension that you configured is incorrect I think.  Can you try to change the extension to .txt and try once.
File Name Scheme : FILENAME.FILE
Thanks,
Satish.

Similar Messages

  • FTPEx: 550 Unexpected reply codeAccess denied in FTPS in PI 7.11

    Hi All,
    We are having same issue with the FTPS in our SAP PI systems. On the Target FTP server side we are using the Proftpd software for the FTPS installed and configuration on port 990 and generated Certificate on FTP Server using Proftpd software.
    Error:
    An error occurred while connecting to the FTP server 'xxxxx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Unexpected reply codeAccess denied.'. For details, contact your FTP server vendor.
    In SAP PI server Communication Channel Configuration we use below FTP configuration.
    FTP Connection Parameters.
    Server : xxxxx
    Port :21
    Data Connection : Passive
    Connection Security : FTPS (FTP Using SSL/TLS) for Control Connection
    Command Order : AUTH TLS,USER,PASS,PBSZ,PROT
    We are not using any [ ] X.509 Certificate for Clinet Authentication
    Thanks
    PR
    Edited by: PR on Nov 15, 2011 7:22 PM

    We are having same issue with the FTPS in our SAP PI systems.
    21 is the default port for FTP(S).....but you should check with the basis/ network team which port is enabled for FTPS.
    Also the ip-address of the target server should be the same as used when uploading the cert

  • FTP Error - 550 Unexpected reply code

    Hi Guys,
    I am encountering the following error in my QA Environment.
    Error Attempt to process file failed with com.sap.aii.adapter.file.ftp.FTPEx: 550 Unexpected reply codeThe filename, directory name, or volume label syntax is incorrect.
    In my receiver FTP channel, I have set the 'Temporary File Name Scheme' as '*.tmp'. I have the same setup in my Dev environment but no issue is encountered.
    When I tried to removed it, the error is not occurring.
    What do you think could be the issue?
    Also, what should be the File Type if the temp file name scheme is *.tmp? Binary or Text?
    Message Flow: IDOC -> File
    Thanks and Regards,
    Neil

    A file name should not contain "* "
    when you define the tempfilename scheme as "*.tmp" , PI is trying to create the file as *<timestamp>.tmp to place the file on FTP which is not allowed.
    refer : Configuring the Receiver File Adapter - Configuring the File/FTP Adapter in Integration Directory/PCK - SAP Library
    >>>Also, what should be the File Type if the temp file name scheme is *.tmp? Binary or Text?
    It can be anything.

  • FTPEx : 550 Unexpected reply code

    Hi Experts
    I am trying to connect one of the vendor's site and get the files by using the file adapter, I am able to access the file folders when i try from the https site , but this is secured site and I configured as  ftpssl
    when I activate my CC i get the following error , my User Id has the access to the all folders abd files, It should not be an issue while accessing the directories and download the files
    An error occurred while connecting to the FTP server 'ftpssl.rbm.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Unexpected reply codeAccess denied.'. For details, contact your FTP server vendor.
    please suggest how can I resolve the issue
    Thanks
    PR

    Hi PR,
    This is a network issue please contact your network/Basis team they would be able to help you,,
    Also you can check the discussion for the same issue in the link :Receiver File Adapter - FTPEx: 550 Access denied
    Regards,
    Naveen
    Edited by: chichilin on Sep 20, 2011 9:15 PM

  • 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error

    Hello ,
    I am facing an error in communication channel while trying to post the file to the FTP server,
    The error is " Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '10.100.5.00:20'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error'. For details, contact your FTP server vendor"
    Please could you advice what need to be done to resolve this.
    Thanks ,
    Siva

    Hi ,
    FTP 501 Error is: "Syntax error in parameters or arguments"
    Also, i see that the ftp address and port mentioned in your case is:
    10.100.5.00:20
    Hence, i see three probable issues here.
    1. FTP Port :
    Just check if the FTP server's port number '20' mentioned in your case is open as this is the data connection port. Moreover, the default port mentioned while creating a file channel is 21. Just check about the port number '20' with the FTP server administrator if this port number is opened and functioning.
    2. FTP server address:
    Also, try giving your FTP Server's address as 10.100.5.0
    3. Also, check if the FTP server is reachable from the PI Server by using a simple ping command.

  • File Adapter FTP Error : 501

    Hi All,
    I am getting following error in the communication channel for File Adapter.
    'com.sap.aii.adapter.file.ftp.FTPEx: 501 IP Address for data destination doesn't match client's.'
    Communication channel details are as follows -
    FTP protocol is used with Port 21.
    Data connection - Active
    File type : Binary.
    The same interface is working fine in Development, Quality and Pre-Prod environments.
    This issue is coming only for Production FTP server.
    From the error text, it appears as a network issue.
    Please to let me know if anyone has came across such issue earlier, and what the the possible reasons - solutions to resolve this.
    Thanks a lot.
    Regards,
    Minal

    >
    Minal Vaidya wrote:
    > Hi All,
    >
    > I am getting following error in the communication channel for File Adapter.
    >
    > 'com.sap.aii.adapter.file.ftp.FTPEx: 501 IP Address for data destination doesn't match client's.'
    >
    > Communication channel details are as follows -
    > FTP protocol is used with Port 21.
    > Data connection - Active
    > File type : Binary.
    >
    > The same interface is working fine in Development, Quality and Pre-Prod environments.
    > This issue is coming only for Production FTP server.
    >
    > From the error text, it appears as a network issue.
    > Please to let me know if anyone has came across such issue earlier, and what the the possible reasons - solutions to resolve this.
    >
    > Thanks a lot.
    >
    > Regards,
    > Minal
    this seems to be something to do with your firewall... you can have your network team involved so that the can work a solution.
    a good read: http://lists.opensuse.org/opensuse-security/1999-11/msg00099.html

  • FTPEx: 501 Syntax errors in parameter in File Adapter

    Hi All,
      I have a scenario idoc to file when I try sending file through the FTP connection I got the below error
    An error occurred while connecting to the FTP server 'ftp-gw.dx.dxxxx.com:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Syntax errors in parameter.     usage: %[recipient id]%[APRF]       where either [recipient] or [APRF] can be omitted.            (to change your current default SEND relationship).            %% (places you in your 'HOME' TR).   &['s'|'single'] ('get' command gets single file).   &['m'|'multiple'] ('get' command gets multiple files). '. For details, contact your FTP server vendor.
    I have gone through the forum below which is also unanswered
    FTPEx: 501 Syntax errors in parameter - Any Ideas...
    Note: Luis Melgar and Satish Reddy please let me know if this problem is solved and also please share with me if any discussion you have in offline
    Regards,
    Senthil.

    Hi Anand,
    Not sure whether I need to used the variable substituion but the user as specified to send file as
    PUSHING FILES TO FTP Server
    put localfilename %localfilename%CITISECUFLATNA%CITIGPASSIN%%B
    currently I specified in comm. channel as
    File Access parameters
    Target Directory %xi_output.txt%CITISECUFLATNA%CITIGPASSIN%%B
    Unchecked the checkbox Create Target Directory
    File Name Scheme xi_output.txt
    Please let me know if any more details required.
    Regards,
    Dhill

  • 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

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550

    Hi,
    I have the below error in my sender file channel. I also read the following thread
    FTP Error
    Error:
    An error occurred while connecting to the FTP server '10.12.12.101:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 C:Inetpubftproot: The filename, directory name, or volume label syntax is incorrect. '. For details, contact your FTP server vendor.
    The above thread suggests me to change the setting in the IIS. Should do that settings in the PI server or the source FTP server.
    Also does anybody have any other solution to this problem.
    Rgds,
    Mithun

    HI,
    If you're using an FTP server you need to know the path to the file on the FTP.
    To do this I suggest to connect to the FTP using Internet Explorer and navigating the FTP folders until reaching the right one.
    Then on the url bar you should got something like this: "ftp://server:21/path/to/file/". Use "/path/to/file" as value for the file adapter configuration.
    Please refer below blogs:
    unable to send file to FTP server
    FTP to Windows Server
    thanks,

  • File to File-CC 'error com.sap.aii.adapter.file.ftp.FTPEx: 550 Access deni'

    Hi friend,
    I am doing file to file scenario in which i wan to move one file from input folder to output folder.
    I had created as FTP on one system that i am able to access and have full authorization to read and write.
    and created that two input and output folder in it,n kept an xml file in input folder.
    When i see sender communication channel in RWB it is showing error, "com.sap.aii.adapter.file.ftp.FTPEx: 550 Access denied'
    I checked password,it correct also I tried to test it using Anonymous Login, but the same things.
    SO i am not sure where i had done mistake.
    Plz give ur suggestions.
    Thanks

    Hi,
    Please Check below few steps:
    Check if the username and the Password is created to write the file in the desired directory.
    Check the username is provided the authorization to write the file in the desired directory. ... IS Guys will help you..
    Confirm if the directory created have all the authorization to write the file.
    ls - lrt
    chmod 777 Directory Name
    all the authorization will then be provided
    Confirm if the directory is created with the root id then it there might be some problem with the user name u r trying to create..
    Hope this will help.
    Assign points for helpful answer..
    Thanks
    JAY.

  • Com.sap.aii.adapter.file.ftp.FTPEx: 421

    Hi Guys,
    I am getting these two error messages:
    1) com.sap.aii.adapter.file.ftp.FTPEx: 421 Maximum session time exceeded - closing
    2) com.sap.aii.adapter.file.ftp.FTPEx: 421 Too many users - please try again later
    when XI Sender File Adapter tries to pick the files from the FTP server.
    I have not set any limit to the number of session for the user that I have mantianied in the adapter. (Niether I know it -:) how to set.)
    Any idea or help, how to resove this error.
    Thanks in adavance,
    Namadev

    Hi Namdev,
    Your this error is coming as your FTP server maximum allowed connection is reached. so as the solution I would suggest to change the Connection mode property of your communication channel as Per File Transfer as default property is Permanently which reserves connection forever.
    So other communication channels cannot communicate. Make this changes to all the communication channel you have configured.
    And your problem is solved.
    enjoy....
    Thanks & Regards,
    Gaurav Patwari

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this

    hi All,
    We are getting below error while connecting to an FTP location through File Adapter:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 You are not allowed to issue this command'. For details, contact your FTP server vendor.
    Also when we tried to connect to this FTP location through PI server we able to connect, but when we connect to it through channel we are getting above error.
    Please Help!
    Thanks,
    Mayank

    hi All,
    The usedid we are using to connect to FTP location has appropriate access to write(we have an receiver file adapter) the files, when we connected to FTP location from PI server using same useid(as used in channel) we are able to connect to FTP location and also able to write the file there.
    Now error soming is:
    An error occurred while connecting to the FTP server XYZ. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Operation is not supported under Connect:Enterprise FTP server.'. For details, contact your FTP server vendor.
    Thanks,
    Mayank

  • If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and gi

    If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and give the extension name is plz tell me the way that office files are compatible with it.
    == This happened ==
    Every time Firefox opened
    == when i download the office files

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Same sender file name with a different extension

    Hello Friends,
    My scenario is I have an xyz.xml file coming and i need to have the same file name in the receiver but with a different extension as xyz.csv and the source file name will not be the same, it will be changing.
    Can you please help me on this.this is a bit urgent to me.
    Thanks in advance.
    Regards,
    Kumar

    Kumar,
    Write <b>UDF</b> with <b>no input</b> parameters.
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        “http://sap.com/xi/XI/System/File”,
        “FileName”);
    String fname = conf.get(key);
    StringTokenizer st = new StringTokenizer(fname,".");
    String[] name = new String[2];
    while(st.hasMoreElements())
    for(int i=0;i<1;i++)
    name<b>[</b>i<b>]</b>=st.nextElement();
    String finalname = name[0]+".csv";
    conf.put(key,finalname);
    <b>Mapping Logic</b>
    UDF -
    > Target Rootnode.
    Make sure that u checked the Adapter specific message attributes in both comm.channel.
    If you have doubts reply back.
    Best regards,
    raj.
    Message was edited by:
            Raj

  • How to get file name on the base of extension

    hi
    reply me
    how to get the filename on the base of extension from the
    current directory......
    for example
    i create file with the "igg" extension and save in the folder
    where the exe file of director save....
    i want when exe run then exe file read filename of the
    define( "igg" ) extension with out path just name of the file with
    igg extension
    tel me how
    regards
    farhana khan

    Here's a solution that requires no xtras:
    on GetFilesWithExtension(aFolderPath, aExtension)
    -- INPUT: <aFolderPath> should be a valid string
    folder path
    -- <aExtension> may be a string file extension,
    without the
    -- dot. For example: "txt" or "igg"
    -- OUTPUT: Returns an error symbol or a linear list of file
    names
    -- in the given folder. If an extension is given, only
    -- files with the given extension will be listed. If not,
    -- all files and folders will be listed.
    vFileList = []
    if not stringP(aFolderPath) then
    return #stringPathExpected
    end if
    vIgnoreExtension = not stringP(aExtension)
    vDelimiter = the itemDelimiter
    the itemDelimiter = "."
    n = 0
    repeat while TRUE
    n = n + 1
    vFileName = getNthFileNameInFolder(aFolderPath, n)
    if vFileName = "" then
    exit repeat
    end if
    if vIgnoreExtension then
    vFileList.append(vFileName)
    else if the last item of vFileName = aExtension then
    vFileList.append(vFileName)
    end if
    end repeat
    the itemDelimiter = vDelimiter
    return vFileList
    end GetFilesWithExtension
    You can also use
    Buddy API's baFileList,
    which allows you to do wildcard searching.

Maybe you are looking for

  • N80 Freezing

    Hi, I have the latest firmware on my Nokia N80 (5.0719.0.2), however i am experiencing frequent hangs and freezing in between menus. Most notably when going into Gallery. However, everything works fine if i remove my memory card (Kingston 1GB MiniSD)

  • Stop error on Q180 when trying to install windows 7 professional

    I get the stop error 0x0000007E when i try to start to install windows 7 pro (64-bit), it goes through 2 "windows is loading files" screens after I select the usb drive to boot from. The usb drive was formatted and the image copied onto using the Win

  • F1 Help documentation

    Hi, I have a checkbox using parameters statement on selection screen.I need to create Help documentation on F1. Can anyone tell me how to do that.I read one of the thread and tried the goto->doc->data elem doc. on screen painter.but since the screen

  • Newbie Question -- Simultaneous Execution for Labview/DAQ

    Hey, I am an undergrad student who is fairly new to labview and control systems and I am working on a senior project. I am wanting to use labview to simultaneously control two separate machines. Both machines would send back data to be saved to a fil

  • InDesign 5.0.1 Update Warning

    Hi A word of warning for anyone about to upgrade InDesign to 5.0.1. On my Mac I have both the debug and release versions of InDesign CS3. The release version is in the default '/Applications/Adobe InDesign CS3' folder, while the debug version is in '