Read Right missing on directory

Four Stars

Read Right missing on directory

Hi,

 

How catch error in a job when a tFileList want list files in a directory without read rights ?

 

When i do that, I have "File or directory count : 0" in logs but no errors.

 

I would like have an error.

 

Thx.

 


Accepted Solutions
Ten Stars

Re: Read Right missing on directory

The component tFileProperties generates a row of data about a specified file or directory. The column "mode_string" may tell you what you're looking for.

All Replies
Nine Stars

Re: Read Right missing on directory

If you select check box generate error if no file found then job will fail.

ReadWriteError.PNG

 

ReadWriteError1.PNG

Regards,

 

Veeru Boppudi
Four Stars

Re: Read Right missing on directory

Thank you for your answer but in my case, it's not an error if there is no file.
Four Stars

Re: Read Right missing on directory

Nobody has any idea?

Ten Stars

Re: Read Right missing on directory

The component tFileProperties generates a row of data about a specified file or directory. The column "mode_string" may tell you what you're looking for.
Four Stars

Re: Read Right missing on directory

ok, thank you. I'll use it.