cancel
Showing results for 
Search instead for 
Did you mean: 

FTPS: Syntax error, command unrecognized.

nicola_martella2
Participant
0 Kudos

Hi people.

We have a problem with a SAP PI 7.10 SP06 about the File communication channels sender with FTPS protocol.

The problems started with the substitution of the FTP server (Exel from Windows version to Linux one) on customer side.

The cc fails with the error

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: Syntax error, command unrecognized.

Simulating the SAP PI activity via Filezilla, we obtain a similar error if we send the command

OPTS MLST size;modify;type;

Response 501 Syntax error in parameter or arguments.

instead of

OPTS MLST Size;Modify;Type;     (pay attention to the case)

Response 200 Command OPTS okay

On server size (Exel Linux version) the wrong command OPTS MLST size;modify;type; is in any case successfully executed but the response is of error.

THE QUESTION

If is it confirmed the wrong case ipothesys, the alternatives that we are considering are:

a) is it possible to update the command string sent by SAP PI?

b) is it possible to ignore the Exel response for the cc on AAE?

Thanks a lot for your support.

Nicola

Accepted Solutions (0)

Answers (1)

Answers (1)

raphael_almeida
Active Contributor
0 Kudos

Hi Nicola !

Check if any firewall is involved between the PI and FTP server.

Regards

nicola_martella2
Participant
0 Kudos

Hi Raphael, thank you for your suggestion.

Make this check is not simple because the landscape involves a lot of subjects (IBM in Italy, Exel in USA, ...).

In any case the error message doesn't do think to a firewall activity because the FTP server has received a command and it has judged syntactically wrong.

Some other suggestions?

Ciao

Nicola

raphael_almeida
Active Contributor
0 Kudos

Hi Nicola,

Can you post your FTP parameters here?

Else, can you make a telnet test on PI server to FTP server like this:

telnet yourPIserverhostname/IP

Give the credentials

ftp sourcefileserverhostname

Give credentials

Read this note too, may help: http://service.sap.com/sap/support/notes/821267

Ciao,

nicola_martella2
Participant
0 Kudos

Hi Raphael,

these are the FTPS parameters for my cc.

Unfortunatelly, I've not access to SAP PI AIX system and so I cannot operate any telnet and ftp command.

Thank you for your support.

Nicola