How to load data from a file on my local drive - not the web server

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Jeppe on 8th July 2013

I am trying to make a website to have running on a PC (which logs data to a spreadsheet, which I can save as f.ex. CSV). I would like to use RGraph to display data, and thus need to load the data. I have read that AJAX cannot load CSV files without a webserver.

What are my possibilites?


Best regards Jeppe!
Posted by RGraph support on 8th July 2013
Hi there,

I don't know that you can. You need some sort of scripting to read the file and JavaScript won't read local files.

You might be able to do it with a plugin - but I have no idea if such a plugin even exists.

You could try running a local webserver.

Richard, RGraph Support
Posted by Jeppe on 9th July 2013
Good idea! Will try the local web server idea :)

Add a reply

« Back to message list