cancel
Showing results for 
Search instead for 
Did you mean: 

FTP SSL error?

Former Member
0 Kudos

Hello All,

Iam doing IDOC to FTP using SSL scenario. When i execute the scenario in MONI i get sucess flag , but when i check in RWB i get error as.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'xxxxxxxxxxxxxx.com:13651'. 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.

An error occurred while connecting to the FTP server 'xxxxxxxxxx.com:13651'. 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.

Please let me know how to reslove the issue.

Thanks and Regards,

Chinna

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187339
Active Contributor
0 Kudos

Hi Chinna,

What is the mode you are connecting to this ftp server? Active or passive?

Did you try to connect to it using the command prompt? Is this 13651 the port?

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

Thanks for the Quick reply,

I can ping the host address in command prompt, 13651 is the port number.

Iam executing the scenario using the data connection parameter is Passiveu2026u2026now I changed into active and tried to execute.

Below is the error I got please look into it.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'xxxxxxxxxxxxxx.com:13651'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 421 Timeout (120 seconds): closing control connection.'. For details, contact your FTP server vendor.

An error occurred while connecting to the FTP server 'xxxxxxxxxxxx.com:13651'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 421 Timeout (120 seconds): closing control connection.'. For details, contact your FTP server vendor.

Thanks,

Chinna

former_member187339
Active Contributor
0 Kudos

Hi Chinna,

Check this SAP note for active and passive usage with File adapter

Note 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter

Also make sure that the firewall is opened between PI server and the FTP location.

Regards

Suraj

Former Member
0 Kudos

Hello All,

i tried to check the connection in cmd promt

telnet <hostname> <port>

its connectiing, but when iam trying to do it with the adapter iam getting below error please let me know how to reslove the issue.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'xxxxxxxxx.com:13651'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 421 Timeout (120 seconds): closing control connection.'. For details, contact your FTP server vendor.

An error occurred while connecting to the FTP server 'xxxxxxxxxxx.com:13651'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 421 Timeout (120 seconds): closing control connection.'. For details, contact your FTP server vendor.

any other option to check the connection.............if any have the java code to connect to FTP SSL please provide me to check the connectivity in mapping

Thanks,

chinna

Edited by: chinnasapxi on Oct 8, 2009 9:05 AM

Edited by: chinnasapxi on Oct 8, 2009 10:38 AM

Former Member
0 Kudos

Hello all,

Please help me out.

The public certificate is imported in the PI system,

in FTP connection parametes:

I gave the Host name whcih is mentioned in the certificate.

i gave port

date connection---active

connection security-----FTPS(FTP Using SSL/TLS) for control and Data Connextion)

command Order-----AUTH TLS, USER,PASS,PBSZ, PORT

i have not checked the Use X.509 Certificate for Client Authentication

Username---

PWD

Connection mode-------Permanently

Transfer mode -


Binary

Please check if iam giving any parameter worng.

Please reply to the thread.

Thanks,

Chinna

Former Member
0 Kudos

Hi,

are you sure that the hostname is known in the DNS-environment. Please check this with ping -a, the hostname given in the return must be the same in the certificate and pi-configuration.

Another problem could be the FTPS-server installation, this can be done as a implicit or explicit FTPS-server. SAP can handle communication with explicit- FTPS servers

For more information so also

Best Regards,

Erik Hubers