Skip to Content
0

Use of fileExistencecheck parameter

Oct 28, 2016 at 08:42 PM

22

avatar image

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,

Vijay

capture.png (16.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Praveen Gandepalli Oct 29, 2016 at 02:25 AM
0

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

Regards,

Praveen.

Share
10 |10000 characters needed characters left characters exceeded