Skip to main content
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
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
Hi SigTill,

 

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

Reply