cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurred while connecting to the ftp server: 451 UnExpected reply code Failure writing to local file

Former Member
0 Kudos

Hi,

   I am trying to write a file into legacy system from SAP through PI(File Adapter). Got the given below error message, please suggest where would be the problem. I checked with unix team who takes care of ftp server. They confirmed that user account can do remote logins, and no it is not an admin account. Also they are able to ftp files too.

Error message: " Error occurred while connecting to the ftp server : severname

                                  Error during STOR/APPE epilogue:

                                  451 UnExpected reply code Failure writing to local file". 

In communication channel, tried to test "Ping Channel". It gives me "FTP Connection test error {0} and {1} cannot be created"

Thanks in advance.

Regards

Rupa   

Accepted Solutions (0)

Answers (2)

Answers (2)

naveen_chichili
Active Contributor
0 Kudos

Hi RUpa,

are you trying to connect to FTP Server using FTPS?

if yes then you need to select then you need to select the connection security as below'

       FTPS (FTP Using SSL/TLS) for Control and Data Connection

if you are not using FTPS then you need to increase your file adapter threads and restart the comm channel .

Regards,

Naveen

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>451 UnExpected reply code Failure writing to local file.

Due to one of the following reasons.  You might want to check with system admins for the 451 error.

  • The drive (on the FTP server that the file is being stored on) is full (or there isn't enough free space available for the file being sent)
  • The user has a limit on the amount of disk space (on the FTP server) they can use (a quota) and they've reached that limit (or will surpass it with the file being sent)
  • The permissions on the folder (on the FTP server) do not allow this user to store files in it .

You might also check these threads.. Search SCN for the similar error.

http://scn.sap.com/message/5184248

http://scn.sap.com/message/11015624

Former Member
0 Kudos

Thank you Baskar. I will check with them about the disk space. Writting file is secondary. The very first error message in PI Communication Channel when tested - "FTP Connectivity to host{0} and port{1} cannot be created".

We mentioned servername and port, instead its showing as 0 and 1. Connectivity itself is failing when tested in Integration Builder. Then later comes to write the file.

Please suggest.

Thank you.

Regards

Rupa

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Please check with admins whether firewall connectivity  rules need to be established between PI and ftp server for the host and port.