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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
DrGenious
Creator
Creator

File's name and timestamp to file

Hello,

I have a file and I want if this file is schema compliant to import into another file the timestamp and the file's name. Please help me. Thanks a lot.

Labels (2)
1 Solution

Accepted Solutions
DrGenious
Creator
Creator
Author

I figure it out . With the assert component i can get file's infos and I add in tmap the global file name . So for output I create a file with a list and every file which pass the schema compliance goes into this list with its infos. 


2.png
1.png

View solution in original post

3 Replies
PhilHibbs
Creator II
Creator II

What you need is the tFileProperties component, which is driven by an Iterate link and returns the modification time of the file along with a few other attributes (sadly not the creation time, but most people use modification time).

fdenis
Master
Master

you are maybe on a hard or big project. a Good Idea is maybe to have a talend lesson!!!
take time to learn, try to debug your job by yourself first.
if you are locked ask everyone.
DrGenious
Creator
Creator
Author

I figure it out . With the assert component i can get file's infos and I add in tmap the global file name . So for output I create a file with a list and every file which pass the schema compliance goes into this list with its infos. 


2.png
1.png