Hello Everyone,
Can you please give me some thoughts on how to create a folder in http(Ex: http://localhost:8080/site/myfoldertocreate) instead in a local drive (Ex. C:\MYFOLDER)
Here is the current code that I am using.
public static void createFolder(String Folder){
try{
File f = new File(Folder);
if(f.mkdir())
SimpleLog.write(Folder + " Directory Created");
else
SimpleLog.write(Folder + " Directory is not created");
}catch(Exception e){
e.printStackTrace();
}
}
Looking forward to your replies.
Thanks in Advance