Skip to Content

Use of fileExistencecheck parameter

Hi All,

Could you please explain me what is the use of ftp.fileExistenceCheck Parameter.

As in the existing project, in FTP Receiver channel, this parameter is been used.

Have a great weekend..Thanks,


capture.png (16.1 kB)
Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    Posted on Oct 29, 2016 at 02:25 AM

    Hi Vijay,

    If you don't want to overwrite the file in FTP server then you can disable the check box Overwrite Existing File in receiver file adapter but if your FTP server reside in UNIX environment then still the file adapter overwrite the file if the file already exist in FTP server target directory which you don't want.

    To fix the above issue you can configure ftp.fileExistenceCheck to true in receiver file adapter as you shown above then file adapter will check if the file already exist if it is exist then exception will be thrown otherwise the file will be written to target directory.

    Check below SAP Note for more details.

    1686989 - fileExistenceCheck parameter for overwrite issue in Unix env



    Add comment
    10|10000 characters needed characters exceeded