Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to take one file or several files and then make them into an archive. If we use "D:/ryan/test talend/" in the Directory then all the contents in that folder will become an archive. If I want to retrieve just one or several files, for example Book6.pptx and Book5iii.xlsx, or one of these files, how do I do it? Is it possible to take one or more files without tfileList and have each file zipped individually?
Hello,
You are able to specify the file mask in this component basic settings when the 'All files' box is unchecked.
Here is online component reference about:
https://help.talend.com/en-US/components/8.0/archive-unarchive/tfilearchive
Best regards
Sabrina
Yes, it can be zipped, but all files become one zip file, namely ryan.zip. How to make each file into a separate zip file, for example Book5iii.zip and Book6.zip?
It's impossible to generate each file into a separate zip file with single tFileArchive component. To achieve it, you have to use tFileList to iterate each file one by one.
tFlieList--iterate--tFileArchive