LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW web service, how to access dynamically created files like pictures / excel-reports

Hello,

 

I have developed this measurement result analysis application, so that our customers can access the measurement results directly from web browser. Previously this was done with G-web server, but now I needed to enable SSL (HTTPS) and that's why I am now using web service instead of G-web server.

 

My problem is that I save front panels (graphs in username_[timestamp].png) of VIs to server and present them to user with <img> tags, the way they want to see them. But now I am unable to access the picture files, because they don't exist in the project while I build/deploy the service and I don't know how to give "access" to all files in specific "graphs" folder. Previously this was easy, because there was this public folder in G-web server. Same thing goes for excel reports, they are stored to server and customer should get direct download link to newly generated "report", but now the files cannot be accessed.

 

Is there a way to give access to folders like HTTPS://localhost/ws/graphs, or should I just create some dummy files before I build the web service so I can set the files available, but then I should change the naming method of graphs, and reports, to something like this: 0000.png, 0001.png...0001.xls... And I hope I don't have to do that?

 

I am using LabVIEW 2010 + internet toolkit + report generation toolkit.

0 Kudos
Message 1 of 1
(2,102 Views)