Skip to main content

Hi,

Does someone have a workspace example how to collect all files in a folder for creating a ZIP-file to send to the Mailer-transformer?

I am using FME Desktop 2022

Hello @arlvanbijleveld​ 

 

What kind of files do you want to extract?


FeatureWriters to write the result to a folder. Sampler to collect the summary features from the FeatureWriters and let the last one pass to initiate the ZipArchiver from the hub to create a zip from the folder.


FeatureWriters to write the result to a folder. Sampler to collect the summary features from the FeatureWriters and let the last one pass to initiate the ZipArchiver from the hub to create a zip from the folder.

This approach worked for me! I joined the Emailer to the Output-port of the ZipArchiver, as I discovered that the Logsuccess-port would send as many emails as the amount of files in the folder.

 

Thanks @nielsgerrits​ for your help!


This approach worked for me! I joined the Emailer to the Output-port of the ZipArchiver, as I discovered that the Logsuccess-port would send as many emails as the amount of files in the folder.

 

Thanks @nielsgerrits​ for your help!

Lol I think everyone using the Emailer has had the mailbomb experience. If it was bad enough, you will not make this mistake again.


Reply