cancel
Showing results for 
Search instead for 
Did you mean: 

file.ftp.FTPEx: 501 Unexpected reply codeUnknown extension in database file name

05-08-2014 2:30 AM
1294 views 7 comments
0 Likes
SAP Managed Tags
Subscribe

Hi Folks,

I am trying to place file in the iSeries library folder and for this I am using a receiver file adapter with the following config, FYI, I am not using any FCC

Target Directory : /QSYS.LIB/XXXXX.LIB/

File Name Scheme : FILENAME.FILE

As I am doing this config for the first time I am using the following SCN discussion as my reference,

File FTP to AS400 Library folder | SCN

but i am still getting the error message at the receiver channel as below

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server 'XXXXXX:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unexpected reply codeUnknown extension in database file name.'. For details, contact your FTP server vendor.

Please let me know if anyone has anymore suggestions.

0 Likes

Accepted Solutions (0)

Answers (2)

Answers (2)

naveen_chichili
Active Contributor
0 Likes

Hi Kalyan,

Seems like a connectivity issue, Please check if the firewal rules/ port is open .

Also check if the necessary permissions are provided for the folder.

Thanks and Regards,

Naveen

Former Member
0 Likes

Hi Kalyan,

The File Name extension that you configured is incorrect I think.  Can you try to change the extension to .txt and try once.

File Name Scheme : FILENAME.FILE


Thanks,


Satish.

Former Member
0 Likes

Hi Naveen,

There is no firewall issue and the port 21 which we are using is open.

Former Member
0 Likes

Hi Satish,

I tried with .txt, but its the same result

Former Member
0 Likes

Naveen,

Also I see I am able to connect to the iSeries Library using windows cmd prompt but not with winscp or filezilla. I am not sure if that is something which needs to be considered

Harish
Active Contributor
0 Likes

Hi Kalyan,

Please check the below discussion

regards,

Harish

Former Member
0 Likes

Hi Harish I tried this, it didnt work and that is what i have referred in my post.