Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Folders list

Hi
I would like to have a list of folders in a directory.
tFileList seem to look at every files (7000) in the directory to have my final list of folders (26...)
Is there a way to go straight with a folders list of a directory?
Martin

Labels (2)
6 Replies
Anonymous
Not applicable
Author

Hi,
Have you already checked the component TalendHelpCenter:tFileProperties which obtains information about the main properties of a defined file?
[font=noto, Helvetica, Arial, sans-serif]The work flow should be:tfilelist-->tfileproperties-->output[/font]
[font=noto, Helvetica, Arial, sans-serif]Best regards[/font]
[font=noto, Helvetica, Arial, sans-serif]Sabrina[/font]
Anonymous
Not applicable
Author

Thank you Sabrina
But I have only a main (not iterate) possibility from tFileProperties and tFileOutputDelimited
So, my output give me a "list" of one line (one folder) instead of all my folders....
Martin
Anonymous
Not applicable
Author

Hi,
How did you set "Directory" path field in tfilelist component? What does your expected result look like? Could you please elaborate your case with an example with input and expected output values?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi
I want a list of all folders in a directory in a csv file. With this job (print screen), I only have one item in the csv, one folder, but tFileList_1 retreive 40 folders


Martin
Anonymous
Not applicable
Author

Hi,
Could you please check out "Append" option in tfileoutputdelimited to see if all information can be stored in your output file?
Best regards
Sabrina
Anonymous
Not applicable
Author

Thank you!