Skip to main content
Hi!

 

I have a workspace producing one or two PDFs.

 

My customers are kind of no-IT-persons and they might not always be able to open zip-files. If possible I would like to append the output files as they are to the datadownload-email.

 

 

Is there a way to stop the zipping from taking place? Or any other workaround you suggest?

 

 

Best regards!
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. 

 


Reply