Skip to Content

Archive faulty files on NFS

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Nov 24, 2015 at 07:34 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 28, 2015 at 10:43 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Shiladitya Sarkar

      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