Forum Discussion

GBekkanti's avatar
GBekkanti
New Contributor III
7 years ago

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

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

  • tstack's avatar
    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.