Skip to main content
Solved

FME Server API and Data Upload

  • August 20, 2018
  • 1 reply
  • 25 views

ld
Participant
Forum|alt.badge.img+1
  • Participant

Hi

I have a workspace on FME Server (Cloud) which currently uses the data download service. It requires the user to upload a .csv and a .pdf, then it runs a translation and delivers a .kmz and a folder of geoTIFFs.

I'd like to run this workspace using a call to the REST API. I'm struggling to figure out how 2 files can be uploaded as part of the same SUBMIT call. Assuming I can do this, will the call still trigger a data download? Or will I need to write to a shared resource folder?

Any help appreciated, thanks.

Best answer by stalknecht

See the following examples:

https://playground.fmeserver.com/javascript/server-uploads/upload-file-in-session/

and

https://playground.fmeserver.com/javascript/server-uploads/upload-file-drag-drop/

good luck!

View original
Did this help you find an answer to your question?

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings