Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
asafrian1700127126
Contributor III
Contributor III

Archive some files in tfileArchive

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?

asafrian1700127126_0-1719567016548.png

asafrian1700127126_0-1719567208504.png

 

 

Labels (3)
3 Replies
Xiaodi_Shi
Support
Support

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

asafrian1700127126
Contributor III
Contributor III
Author

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?

Shicong_Hong
Support
Support

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