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

Similar Messages

  • 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

  • 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.

  • 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.

  • Receiver File adapter - FTPEx: 550 Permission denied

    Hi all,
    We are getting the following error from a File receiver comm. channel:
    Delivery of the message to the application using connection AFW failed, due to: com.sap.aii.adapter.file.ftp.FTPEx: 550 Permission denied to "inbound"..
    The FTP connection is anonymous so anyone (within our network) can login on this server, folder rights are also set to all i.e. anonymous user can create, read, delete files on the target folder.
    I have tested to the target folder using IE browser, I was able to logon the server, read, create and delete files.
    Has anyone of you an idea why the adapter engine still cannot create a file?
    Regards,
    Roberto

    > Hi Roberto,
    > 'Anonymous' is a default user that exists in Unix
    > nix layer. But for this user also you need to provide
    > the file write/read/delete permissions into the
    > folder. Then only you can write a file evenif you are
    > using 'Anonymous' User.
    >
    > Cheers
    > JK
    Hi there,
    As explained before; we have tested the same FTP connection (using the same anonymous account) via a DOS session and also via IE (from the XI server), both tests were successful and we were able to create/delete files without any problem.
    So again, the problem is only with the File/FTP adapter which for some unexplained reason cannot get access to this folder.
    Are there any special (not mentioned in the SAP documentation?) prerequisites to establish a FTP connection using the file adapter?
    Any help is highly appreciated!
    Thanks, Roberto
    BTW; we are on SP14 and the XI server runs under a Windows Server machine.
    Message was edited by: Roberto Viana

  • Receiver File Adapter - FTPEx: 550 Access denied

    Hi Experts,
    In my receiver file adapter scenario I'm getting 550 Access denied in RWB.
    I am a little confused here because I could access the FTP client from my desktop using the same User and Password informed in the Receiver CC. I also could drag and drop a file there.
    Here you have Detail Display in RWB, it seems that at least the user is working fine for PI also:
    Success: Connecting to FTP server "<FTP IP>"
    Success: Write to FTP server "192.168.10.85", directory "\Transportadoras\10326750000101\",   file "Nfe_teste.xml"
    Success: Transfer: "TXT" mode, size 8881 bytes, character encoding UTF-8
    Error: Attempt to process file failed with An error occurred while connecting to the FTP server '192.168.10.85:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Access denied.'. For details, contact your FTP server vendor.
    Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: An error occurred while connecting to the FTP server '192.168.10.85:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Access denied.'. For details, contact your FTP server vendor.
    Regards,
    Daniela
    Edited by: Daniela Machado on Aug 11, 2010 10:18 PM

    Hi Daneial,
    This is an issue due to any firewall or proxy between your Xi system and the FTP.In this case the direct logon
    works with same user but when XI tries to create file at runtime you get this error due to network issues.
    To resolve this contact your Basis/Network guys  and
    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,
    $rinivas

  • 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.

  • 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,

  • 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

  • PERMISSION DENIED IN FTP SERVER

    Hi all,
    i have XML to XML scenario. i have put xi_input.xml in my system and made  delete mode in sender communication channel. but its not picking and deleting the data, its giving error in FTP serve as "permission denied" and in runtime work bench error is "Failed to delete file 'xi_input.txt' after processing. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Permission denied'. For details, contact your FTP server vendor.". please help me
    thanks and regards

    >
    pawan kumar wrote:
    i m getting output XML file in my system.but i tried with directly one to one mapping in message mapping, now i did some modification in Message mapping like i concatenate name by X in message mapping and in description i passed ZSUBHODIP as constant then in output i am not getting concatenateed value and constant ZSUBHODIP in name and description.
    Hi,
    Did you activate the message mapping after modification ??
    If yes, test the mapping in test tab and let us know the exact error.
    Regards,
    Chandra

  • FTPEx: 550  : Cannot create a file when that file already exists.

    Hi experts,
    I am working on idoc to file scenario and PI 7.1. The idoc is split into 3 files.
    In sxmb_moni , the message is successful , but in rwb( Message montoring) i am geeting the fllowing  Error message.
    ' Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '172.19.125.190:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /Storedata/Outbound/0000001802: Cannot create a file when that file already exists. '. For details, contact your FTP server vendor..'
    and this error message is not displayed for all the target files , some files are getting created succesfully.
    After some times , the file in error status , gets created automatically.
    What may be the reason.?
    Thanks in advance .
    Best Regards,
    Anil

    There seem to be already some files in your Target Directory with the same name as your new files (which the CC is trying to place) and the CC is not able to overwrite the existing files and hence the error...check this.
    Check: http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/69d7cfa4b633eae10000000a1553f6/content.htm
    14.      Select the File Construction Mode.
    u25CB       Create
    The file is created. The document received last is saved in each case.
    If you want the created file to be overwritten, select Overwrite Existing File. If you do not set the indicator, processing is stopped until the created file is processed.
    You can only set the indicator if you select Use Temporary File under Put File below.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jul 28, 2009 6:59 PM

  • Error FTPEx: 550 CWD failed

    Hi guys, i have a weird problem.
    We write in one ftp-directory where three messages should be posted.
    Two are posted, one won't!
    We get following error:
    com.sap.aii.adapter.file.ftp.FTPEx: 550 CWD failed.
    "/SAP_Output/T_Output": directory not found.
    please note that at the end of the path a slash "/" is missing, even though it is configured in CC.
    As mentioned two other CCs post the files in the directory, one don't.
    I have no clue what to do?!
    The problem occured after we transported the Scenario from QA to PROD.
    It's a Windows FTP-Server!
    br

    Got the solution - was a password error!

  • Failed to delete file after processing FTP

    Failed to delete file after processing. The FTP server returned the following error message: 'com.sap.ai i.adapter.file.ftp.FTPEx: 550 Unexpected reply code *.txt: The process cannot access the file because it is being used by another process. '. For details, contact your FTP server vendor.
    I got this error many times for the same interface. Not sure what is the reason for this.
    Searched on internet go comments that this is because of FTP version!
    Please help

    It is the "Msecs to Wait Before Modification Check" in the Sender Adapter that ensures this. It works like this: PI starts processing, finds a file, then waits the number of miliseconds specified and checks the file again to see if it has changed over the waiting period. If so, then it waits again to make sure the file is written completely. Only if no changes took place over the waiting period, it starts processing the file.
    And the fact that your file was successfully processed at retry only confirms that it might have been still written to by the sender system. You can try comparing file's creation timestamp (in OS level) with its processing start time in PI - this could prove me right.
    Edited by: Grzegorz Glowacki on Jan 13, 2012 2:15 PM

  • Sender CC error....Please help

    Hi,
    I am getting the following error in my sender cc. It used to work until yesterday. But, for some reason now I am facing this error from today. lease help.
    Below is the error.
    An error occurred while connecting to the FTP server 'IP/Host name:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Unexpected reply code/dev/testfolder/sender: The system cannot find the path specified. '. For details, contact your FTP server vendor.
    What does this mean? I am able to login thru FTP site and command prompt.
    Thanks,
    Nani

    Hi Nani,
                   Did you try from command prompt 
                   Telnet   IPaddress portnumber   
    This will show whether the target system is up and ready to accept files.
    In case you get negative response please inform target system admin to take care.
    I feel this is a problem of target system.
    Regards
    Anupam

Maybe you are looking for

  • How can i connect my macbook air to a HD TV ?

    I want to connect my mac to my TV but there's no cable to connect from a thunderbolt port to a HDMI.    please help

  • Filling in a shape with a dot pattern

    Hi there, I have this shape of a light which I am trying to fill with a dot pattern but when applied it cuts some of the dots off. How can I avoid this? Ideally it would also follow the 3 dimensional shape of the object, like the first picture. This

  • HOW DO I CONTACT SOMEONE?!!!  I JUST NEED A SIMPLE ANSWER!!!

    can someone just give me someone i can talk to about cs4

  • ECC as datasource

    Hi Gurus , We implemented RDS and want to use  ECC as datasource for BI4 4.1 ( with Data service ) it's somebody know to manage  it Thanks

  • Large screenshots on macbook pro retina

    Hello, I just purchased the most recent 2013 Macbook pro 13inch retina.  My display settings are scaled to the highest resolution.  Whenever i use the native screenshot, the images are huge when pasted into email.  Is there a way to capture images as