cancel
Showing results for 
Search instead for 
Did you mean: 

Placing the File in ISeries AS400 FTP Server

GabrielSagaya
Active Contributor
0 Kudos

Hi,

I am working in IDOC to file Scenario and trying to append the Records in the flat file in AS400 FTP Server Directory.

I am unable to place to file in the FTP Server and getting the error message as below.

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'xx.xx.xxx.xxx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 File identifier not valid in MKD subcommand.'. For details, contact your FTP server vendor

Please provide your valuable suggestion on this.

Accepted Solutions (0)

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

resolved.

used Cp037 encoding and able to append the file.

http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzaha/fileenc.htm

Former Member
0 Kudos

Hello,

Appreciate could you screen shot your configuration in the FTP adapter for this scenario?

Thanks.

GabrielSagaya
Active Contributor
0 Kudos

Now I am getting the error message as below

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 xx.xx.xxx.xx:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 426 Unable to open or create target file SPD3INTMCD.txt in library FTPLIB. Data transfer ended.'. For details, contact your FTP server vendor..

Please suggest on this.