cancel
Showing results for 
Search instead for 
Did you mean: 

FTPS Connection File Issue

Former Member
0 Kudos

Hi,

There is a requirement in my project to pick the file from FTP location through FTPS connection. Certificate has been deployed in PI server and connection also been established.

PI is successfully connect FTPS server and folder but unable to pick the file. It is throwing the below error.


The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 Unexpected reply codeThe system cannot find the file specified. '. For details, contact your FTP server vendor.

We have configured the Hostname in the PI channel and provided the full permission to the directory, filename and the used id also. We have tried with exact file name and also * . But no luck. Please suggest on different options.

Thanks,

Boopathi R

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Thanks for your reply.

The connectivity problem has been resolved and the particular interface has been working fine, Issue was with the certificate deployment at third party system.

Now we are getting the below error while connecting to the same FTP folder, user name and password for another file communication channel read the different file with file content conversion

The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 534 Unexpected reply codePolicy requires SSL.'. For details, contact your FTP server vendor.

Please let me know whether File Content Conversion is possible through FTPS or not.

Thanks,

Boopathi R

former_member186851
Active Contributor
0 Kudos

Hello Boopathi,

FCC should not be problem I guess and your error seems more likely to be with connection.

Ensure you followed all the steps as per the below link

Answers (1)

Answers (1)

PriyankaAnagani
Active Contributor
0 Kudos

The error indicates that, system can not find a file in the location with the filename you specified in the channel. Make sure you've the file available in the server location with Exactly same name scheme as you mentioned in the channel.

--Priyanka

Former Member
0 Kudos

Hi Priyanka,

Thanks for your reply.

Source file is available in the directory. We tried with the exact file name and also tried with * in file name to pick whatever the file which is available in the source directory. But getting the error.

Moreover, if the file is not available in the source folder, PI Sender Channel will not throw the error. it will show green and whenever the file ( which matches the file name mentioned in channel) is placed, PI will pick and process.

Thanks,

Boopathi R

former_member186851
Active Contributor
0 Kudos

Hello Boopathi,

This seems to be connection issue only.

Check if the Certificates are valid also the username/password combo if any maintained in the channel.

PriyankaAnagani
Active Contributor
0 Kudos

Hi Boopathi,

Are the Adapter logs/FTP server logs indicate that PI is able to connect to the server. Please verify the complete NWA logs

If it's not able to connect, below things need to be verified.

  1. Ensure that the port is open
  2. Credentials are correct. Try connecting to the server using any tool with the same user & pwd.
  3. Certificate is valid. When you open the certificate in NWA, you can see the CN as the server defined in the channel parameters.

If its able to connect, then the problem could be with the directory/file name.

  1. Make sure that the source directory is correct. Sometimes "/" at the beginning or end may cause issues.
  2. Check whether directory has all permissions. This might cause issues when the processing mode is set as delete in PI channel.
  3. Make sure file name does not have any special/unreadable characters.

I would suggest working with the FTP server Admin and collecting server traces would provide more insight.

Best Regards,

Priyanka

Former Member
0 Kudos

Hi Boopathi,

This error "com.sap.aii.adapter.file.ftp.FTPEx: 550 "occurs only with the below cases


1) your PI system is not able to reach ftp (either port is not open or some changes in directory structure ) Could be network/Firewall issue.

2) User authorizations changed for ftp system/ Directory.

Please contact your network/Basis team they would help you in giving the Authorization for picking the file through Channel.


Thank you!

Regards

Hanu