Hi, I want to pick a single file from a folder which may have multiple files of same format. This file can be any file. How to do so? tFileList iterates on files and loads all the files one after other. I don't want this. I only want to load a single file instead.
I guess you need for some reason the tFileList component, otherwise your question is hard to understand because processing a single file is the default use case of the file processing components (like tFileInput* etc.). You can set the file name in the tFileList as filter condition. Thats causes the tFileList to return exact this file.
In tfileinput* we need to specify the file name. We can't use *.csv to pick a file. I want to pick one file from the directory which may contain multiple files. One File ---> TMap -----> tmysqlOutput The don't know the file name but i know it is a csv file. (The folder can have multiple csv file at this time but i want to pick any one of them)