Skip to Content
avatar image
Former Member

com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported

What would be root cause of the following error ?

We are sending XML file to FTP server ?

"An error occurred while connecting to the FTP server '150.105.62.15:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 502 Command not supported.'. For details, contact your FTP server vendor."

Thanks

VJ

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Nov 22, 2008 at 05:26 AM

    Hi

    This Type of Error occurrs due to many reasons such as

    1 if your XML message format is not correct, so check your generate XML payload in SXMB_MONI

    2 Make sure that the FTP sever does not have issues with Firewall or a Proxy server access

    3 Also verify that the specified FTP user ID has the necessary WRITE or overwrite authorization

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI Vijay

      The User used in configuring FTP receiver adapter need to have Read, Write and modify permissions on the 3rd party FTP server.

      Thanks

      Gaurav

  • avatar image
    Former Member
    Nov 21, 2008 at 08:03 PM

    HI Vijaya

    This is a file permission issue. Check if the file has 777 as permission to be processed through PI. Even PI user has permission to read file from the directory.

    Thanks

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 22, 2008 at 03:01 AM

    Hi,

    as said above, plz check for the file permission or it will be better to keep all the files in a directory with 777 permission.

    thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 26, 2008 at 03:22 PM

    All,

    Thanks for your response. We have finally resolved the problem . Here is the root cuase.

    We were trying to put the file in a wrong directory. Once that was changed, the file was put in the destination directory but the Communication channel monitoring still returns the same 502 error.

    After a lots of research,We found that it was to due to a set up in the communication channel. We set the processing parameters PUT FILE to "Use Temporary File". When we changed it to "DIRECTORY",It started to work fine.

    Thanks for all you help

    VJ

    Add comment
    10|10000 characters needed characters exceeded