Skip to main content
Archived

PATH Reader: Add where clause "like" functionality to only read certain files

Related products:FME Form
  • March 9, 2020
  • 2 replies
  • 35 views

setld_solutions
Contributor
Forum|alt.badge.img+8

PATH Reader: Add where clause "like" functionality to only read certain files

Currently, this reader forces the user to read all the files (w/ properties) into memory and THEN filter them in the workspace for size, date, etc.

I contest that I can get these properties much much faster via DOS DIR command written to .txt -- why can't the reader do this upfront?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Evangelist
Forum|alt.badge.img+51
  • Evangelist
  • March 9, 2020

These options already exist, you can use the path filter to restrict what files are returned

'

 

 

 


mark2atsafe
Safer
Forum|alt.badge.img+59
  • Safer
  • March 10, 2020

Yes, that filter uses a glob pattern, like a file system would. Interestingly, the linked article implies that the SQL "like" function is based on globs! Who knew? Not me.