cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing the file dynamically in File Reader/Multi File Reader Snap

GBekkanti
New Contributor III

Hi,

Need to access the file which is having datetime and Seq number(YYYYMMDD_HH24MISS_SeqNo)(20180810_181605_01) appended to file name. Need to access all files with same name in sequential manner. Can anyone please suggest me on this?

Thanks,
Gopi B.

2 REPLIES 2

tstack
Former Employee

You might want to start the pipeline with a DirectoryBrowser snap to get the list of files that you are interested in. You can follow that snap with Filter and/or Sort snaps to prune the list and sort it. Once you have a series of documents with the desired paths, you can feed that into a FileReader snap.

GBekkanti
New Contributor III

Thank You @tstack