Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good morning.
Is there any component that counts the number of files that are in a folder?
I need to be stored in a variable, the number of records that exist in a folder and not how.
Thank you very much.
xdshi wrote:
Good Morning,
First, thank you very much for your reply.
I stored in a global variable in a tJava this: context.numeroImagenes = ((Integer) globalMap.get ("tFileList_1_NB_FILE"));
The problem is that stored me: (1,2,3,4) and I just need the last value.
You can store only the last value?
thank you!
Good Morning,
First, thank you very much for your reply.
I stored in a global variable in a tJava this: context.numeroImagenes = ((Integer) globalMap.get ("tFileList_1_NB_FILE"));
The problem is that stored me: (1,2,3,4) and I just need the last value.
You can store only the last value?
thank you!
Hi,
Please take a look at a component TalendHelpCenter:tFileList which iterates on files or folders of a set directory.
You can use the global variable(Integer)globalMap.get("tFileList_2_NB_FILE")). It counts the number of files found.
Best regards
Sabrina