Skip to main content
Solved

Additional files in FME Cloud zipped results.

  • March 23, 2015
  • 2 replies
  • 6 views

fmelizard
Safer
Forum|alt.badge.img+21
Hello all,

 

 

I was wondering if anbody has any experience in adding additional files to a zipped data downlad result in FME Cloud.

 

According to this article :

 

http://fmepedia.safe.com/articles/How_To/Including-Additional-Supporting-Files-in-your-Output-ZIP-File-Desktop-Zipster

 

The data writer should be adapted to the File Copy writer, but since the results for a data download registered workspace are automatically zipped  and have each time a different location, I was wondering if I can actually reverse the recommended way and associate the File Copy writer to the dynamically created data location?

 

I am going to try this myself but wanted to know if anybody succesfuly did something similar and would like to share the method.

 

Itay

Best answer by sigtill

Just do a Fanout on the File Copy Writer - and fanout on DIRECTORY = FME_SERVER_DEST_DIR - this will be replaced with the "temp-location" for the current run of the workspace. FME Server will automatically zip all files which are within FME_SERVER_DEST_DIR to the zipfile. 

 

 

Have tried it on FME Server - not FME Cloud.

 

 

More information here: http://fmepedia.safe.com/articles/Error_Unexpected_Behavior/Dataset-Fanout-doesn-t-work-for-Services
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

sigtill
Supporter
Forum|alt.badge.img+25
  • Supporter
  • Best Answer
  • March 31, 2015
Just do a Fanout on the File Copy Writer - and fanout on DIRECTORY = FME_SERVER_DEST_DIR - this will be replaced with the "temp-location" for the current run of the workspace. FME Server will automatically zip all files which are within FME_SERVER_DEST_DIR to the zipfile. 

 

 

Have tried it on FME Server - not FME Cloud.

 

 

More information here: http://fmepedia.safe.com/articles/Error_Unexpected_Behavior/Dataset-Fanout-doesn-t-work-for-Services

fmelizard
Safer
Forum|alt.badge.img+21
  • Author
  • Safer
  • May 29, 2015
Hi SigTill,

 

Took me some time to get to it, works like a charm, thx!