Skip to main content
Question

Clip, zip and ship - without the 'zip' ?

  • May 29, 2013
  • 2 replies
  • 89 views

Forum|alt.badge.img
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!
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nic_ran
Contributor
Forum|alt.badge.img+20
  • Contributor
  • May 29, 2013
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?

 


Forum|alt.badge.img
  • Author
  • June 7, 2013
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.