
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
