I have to load a file in a different folder.
the current folder is “FileConverter”, and i have to open at “upload/FDR.csv”

I try the following code but it doesent work
function preload(){
table = loadTable("../upload/FDR.csv",'csv','header');
}
function setup(){
...
For privacy & security reasons browsers block any access to files outside the folder where the JS app (its “.html” file) is running! 
For such cases, we can request the user to drop the file onto an element: 
http://p5js.SketchPad.cc/sp/pad/view/ro.CYTkHWj9smgw8Q/latest
Or open a file dialog: 
1 Like