Solved

Create custom data download zip name for FME Cloud


Badge +7

I would like to change the name of my data download zip (FME_xxxxxxx.zip) to something else. Is it possible to change this on the FME cloud instance?

So how or where can i edit the file layout configuration file that can manage [AUTO_FILE_PREFIX <file_prefix> \\]?

If searched for it but could only find solution that needed the terminal on a FME Server that was not FME Cloud.

FME Engines

 

Filename: fmeEngineConfig.txt

 

Location: <FMEServerDir>\\Server\\

 

Purpose: Configure the FME Engines, including subsections, pre and post commands, and success and failure responses. For details, see Configuration File Layout.

Info i found

https://knowledge.safe.com/questions/3809/zip-file-name-fmeserver-download.html

 

http://docs.safe.com/fme/2018.1/html/FME_Server_Documentation/Content/ReferenceManual/config_file_layout.htm

 

http://docs.safe.com/fme/2018.1/html/FME_Server_Documentation/Content/ReferenceManual/fme_server_config_files.htm

 

https://knowledge.safe.com/questions/31991/create-a-custom-download-link-for-results-from-dat-1.html

icon

Best answer by stewartatsafe 11 July 2018, 17:37

View original

2 replies

Userlevel 2
Badge +17

Hi @JeroenR, I don't know if we can edit the configuration files for an FME Server instance on FME Cloud.

In my observation, FME Server on Cloud saves a destination zip file resulting from a Data Download Service into this resource directory

/data/fmeserver/resources/system/temp/engineresults/
and the download URL "https://<your FME Server domain>/fmedatadownload/results/" is mapped to the directory above.Therefore, for example, if you create this zip file with a Job Submitter Service
/data/fmeserver/resources/system/temp/engineresults/$(FME_JOB_ID)/result.zip
 you can then download the zip file through this URL, theoretically.
https://<your FME Server domain>/fmedatadownload/results/<Job ID>/result.zip

Note it's not documented anywhere. Should say a kind of hack. I hope someone from Safe confirms that it would work fine in also the future.

Badge +5

Hi. Currently, it is not possible to update this parameter on FME Cloud. As you elude to, you need to access the configuration file on the instance itself. I suggest you file a new Idea on the knowledge site for this piece of functionality so we can gauge interest. I will discuss it internally to assess the complexity. Sorry I couldn't be more helpful at this point. Thanks.

Reply