Question

Writing data into FME server temporary files folder

  • 8 April 2021
  • 2 replies
  • 61 views

Badge

Is it possible to write data into FME server temporary files folder? What could be the writer parameters or settings to try? Currently I have been testing to write into an existing file (.txt) in temporary files folder on FME server and it will not write any data, whereas when just using FME desktop and writing the file locally to my computer works just fine. My actual dream is that the user can upload data and the server runs it through and displays the result back in PHP.


2 replies

Userlevel 4

Have you looked at the demos at the FME Server Playground? I think you'll find something fairly similar there: https://playground.fmeserver.com/demos/

But to answer your question, you can write to the internal parameter $(FME_SHAREDRESOURCE_TEMP) which always points to the server temp folder. Note, however, that the datadownload service will override any writer paths.

Userlevel 5
Badge +29

You you also look at the datastreaming service. This can send text back to the website the user requested from

Reply