04-08-2020 03:11 AM
1. I created a Systemlink server (localhost:9091)
I upload a file named a.csv to File Viewer on Systemlink Web Application.
I would like to download it from client using LabVIEW but I cannot find any examples about it.
I try this method as the snippet below.
I got this error
Please show me how to do that.
2. If I would like to sync the files on the Systemlink server to the client, are there any solutions for that?
Thank you in advance
Solved! Go to Solution.
04-08-2020 09:20 AM
I think you need to specify the protocol and port when you initialize the session. Try setting the server to "http://localhost:9091" assuming you are using http and not https.
04-08-2020 08:32 PM
I followed you and it worked when I changed the server to http. How about https?
Btw, when I upload file to server, how can I replace the old ones with the same name, properties?
04-09-2020 08:59 AM
To use https you would need to re-run the NI Web Server Configuration utility on the server to create a self-signed certificate or install one an officially signed one.
SystemLink doesn't support "overwriting" or "editing" files published to the server. They are intended to be idempotent, and you can publish multiple files with the same name and SystemLink will store each one separately without any collisions.
If you need to "replace" a file you will need to upload the new file and then delete the original.
04-09-2020 11:19 PM
Thank you for your quick response.
I will try with HTTPs later. I hope I can go through on it. If not, maybe, I will take your time again.
Thank you again 😛