Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Need best approach to below requirement on talend.
i have source files directory with huge no. of xml files and files coming frequency is overall 2k to 3k files per day.
i have to archive those files in another folder based on month& year wise files like 'YYYY-MM'.
so please suggest best approach for this requirement.
Thanks,
Hello Saivsr,
I guess you are trying to push some xml files from a source directory to a target directory and in the process you want to push files to a respective folder (labeled by year and month) if that is right, then lets assume that you have your destination directories created like 2019NOV, 2019DEC,2020 Jan etc in the path "h:/filesources/products/"
1) Create a context variable SOURCE_FILE_DIRECTORY = "h:/filesources/products/"
2) configure your archivefile component as per the attachment (assuming you have tFileList component)