tfileexist

One Star

tfileexist

Can I use tfileexist to check if ANY files are in a folder, e.g. *.* or *.csv... It does not seem to work, any way around this problem?

Moderator

Re: tfileexist

Hi,
Firstly, you can use tfilelist to retrieves a set of files based on a filemask pattern and check them by using tfileexist component then.
Please take a look at my screenshot.

As a matter of fact, if you want to check if there is any file in a folder, e.g. *.* or *.csv. You can check out "generate error if no file found " directly.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog