Which version of FME Server are you using?
Older versions of FME Server used to do the zipping as a post command at the end of the translation. This could be configured by editing the relevent subsection of the fmeEngineConfig.txt configuration file.
In newer versions of FME Server I believe the zipping is built right into the Data Download service so I don't think there's much you can do to change it.
If you can guarantee you will only be producing a single file from your workspace then you could think about using the Data Streaming service instead but it sounds like you might be producing multiple files?
Hi nic_ran!
Thanks for answering, I use 2013. Data streaming is a good idea, will definitly use that for complement.
The solution: (thanks to SWECO):
Catch the output directory/filname of the main writer and add a textwriter creating a .json file with that content:
{
"email_to" : "exemaple@abc.com" "email_attachment" : "C:/temp/p.pdf" } Then create a Topic and a subscription.
Publish workspace and register the "job submitter" as service on the topic.