Visualizer - Data file from url


(Ravid) #1

I send to confgure - url instead of path to local file:

Visualizer.connect({
application: ‘visualizer’,
dataFile: ‘a.vtk@http://bioup.azurewebsites.net/a.json’,
dataDir: “http://bioup.azurewebsites.net/
});

But it does not work:

Any help?


(Sebastien Jourdain) #2

Does http:\bioup.azurewebsites.net\a.vtk looks like a valid path on the machine where the server is running.

I’m guessing what you are asking for (without asking) is how to make ParaView load a file from a remote server by downloading it first?


(Ravid) #3

Yes


(Sebastien Jourdain) #4

Create your own RPC endpoint that will ask Python to download that file first and load it from the local file system.

If you still don’t understand what I mean, Kitware offer support contract which could allow us to help you out and even write that piece of code for you.