I want to create a file manager for a web server that will run in the browser. I started by making a simple interface to create a directory in the folder that the java class is run.
When run, the applet creates the folder fine but when I upload it and run it on a web server it doesn't create the folder.
Here is my directory creating code:
File f = new File(System.getProperty("user.dir")+"\\"+folderName+"\\"); f.mkdir();
I have had a look at using URL instead of files but it kept throwing exceptions and I would have no idea how to do it that way. Any help would be very much appreciated.