Pentaho

 View Only

 Check if file exists in folder and return True or False

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
Rob Burgess's profile image
Rob Burgess posted 06-13-2018 17:59

Whats the best way to check if a file exists in a folder using regex, then return true if the file exists or false if the file is not found.


#Kettle
#Pentaho
#PentahoDataIntegrationPDI
Data Conversion's profile image
Data Conversion

Hi Rob ,

you can try using "Get File Names" component where you can specify the wild card expression and this component also provide inbuilt information like file exists as Y or N.

I hope this is what you are looking for .