cancel
Showing results for 
Search instead for 
Did you mean: 

Archive faulty files on NFS

Former Member
0 Kudos

Hi,

We have a File (FTP with content conversion) to proxy scenario where we need to archive the source files in an error directory in case it fails in content conversion.

The transport protocol is FTP with file content conversion and in the modules tab we have used AF_Modules/MessageTransformBean with Transform.PermanentErrors set to true.

Now we have to archive the faulty files not on the ftp but on a folder mounted on the adapter engine. The user has all the required authorizations and in fact when we use the same folder inthe archive path with a correct file, the file gets archived in the folder path on the PI server.

However, when we test with a file that fails in content conversion, PI is unable to archive this same file on the above mentioned folder and gives the error that Access is denied. (even though the correct files get archived on it, so no issue with the folder mounting). We have the option "Archive files on FTP server" unchecked.

However, when we check the option Archive files on FTP server and provide a path on the ftp server itself, the faulty files gets archived to the path.

We have already been through all the help documents and scn posts but there is no absolute answer on this.

have also tested with the Add Timestamp option checked and unchecked and it gives the same error for both cases.

The question is, does this option of archiving the faulty files only work when the fault directory is also on the ftp server?

Regards,

Shiladitya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I raised this to SAP and they have replied that the feature of archiving on NFS when using FTP protocol is still not available.

Regards,

Shiladitya

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Shiladitya,

AFAIK you configuration without Archive Files on FTP Server should archive on the PI application server but i have read any thread that it has a similar issue.

are you getting any FTPex exception or only the exception Accees denied?

What is your PI version?, check if these notes can help you:

1747163 - Improvement in erroneous file archiving and logging in audit

1707766 - Faulty source files are not getting archived on the FTP serv

Regards

Former Member
0 Kudos

Hi Inaki,

Our PI version is 7.31, SP10, patch level 5 so we should be on the correct side of these notes.

Regarding the error, it is always showing as access denied, even though the successful files get archived on the same folder.

The exact error is FTPEX 550 : Unexpected Reply code, Access denied

Regards,

Shiladitya

Former Member
0 Kudos

Hi Shiladitya,

You might have already done the below exercise but just putting it down, just in case...

Taking full logs on FTP server and also the XPI_INSPECTOR logs on PI server for the FTP transfer may be of some help.

Regards,

Harish