cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check if there is any firewall between PI and the target application system(FTP).

Try to telnet the target and check the response message.

-Supriya.

deviprasad_pothireddy
Active Participant
0 Kudos

HI siva,

go to cmd ; ftp <ipaddress>

Enter username and password.

See the list of commands using help

enter Dir command to find out the current directory.

Use this directory in FTP adapter configuration.

for more details. check this link

http://pdpsappireference.blogspot.com/2010/08/sap-pi-ftp-file-adapter-configuration.html

Regards,

Deviprasad.

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

error HTTP 500s relate with connection problems

check the Permissions, user, pass, etc-

take a look to this blog

/people/shabarish.vijayakumar/blog/2007/07/26/troubleshooting-the-file-adapter-last-updated-on-02-july10

let us know

Former Member
0 Kudos

Hi,

This is related to FTP not HTTP.

Thanks

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

is the same to this case. check out what i suggested you.

Rgds

Rodrigo

Former Member
0 Kudos

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.