Skip to main content

I uploaded a workspace to a FME Server using the Datadownload service.

I call this service and workspace from a custom webpage.

All is working as designed, but I would like to skip the download link that is returned by the service.

I would like the Datadownload service to start downloading the file as soon as the file is generated.

I can't find the right option for this.

My URL looks like: http://localohost:8080/fmeserver/fmedatadownload/myrepository/myworkspace.fmw?

Can anybody help?

Do you have to call it from a webpage? if you can call it from a workspace then it should be easy to set up a httpcaller to use the download link.

 

 


If your custom web page uses an XMLHttpRequest to trigger the Datadownload service, you could include an event handler that intercepts the download URL returned from FME Server and then download using something like this: https://ausdemmaschinenraum.wordpress.com/2012/12/06/how-to-save-a-file-from-a-url-with-javascript/


The data streaming service will zip multiple file output and the download will start as soon as the workspace completes.


The data streaming service will zip multiple file output and the download will start as soon as the workspace completes.

HI @aaronkoning: I tried this and ended up with this error:

 

"Failed to extract or package datasets at output location: C:\\ProgramData\\Safe Software\\FME Server\\resources\\system\\temp\\engineresults\\FME_4452076C_1487603043638_6128"

 

when I downloaded a zipped Shape file.

 


The data streaming service will zip multiple file output and the download will start as soon as the workspace completes.

And I found the output data in a subfolder of:

 

"C:\\ProgramData\\Safe Software\\FME Server\\resources\\data"

 

 


Reply