|
|
@ -111,6 +111,7 @@ public class sigServer { |
|
|
|
File myFile = new File(new File(sigPlace.OUTDIR,sigPlace.UPLOADSDIR),filename); |
|
|
|
File myFile = new File(new File(sigPlace.OUTDIR,sigPlace.UPLOADSDIR),filename); |
|
|
|
// check if file exist, otherwise create the file before writing
|
|
|
|
// check if file exist, otherwise create the file before writing
|
|
|
|
myFile.mkdirs(); |
|
|
|
myFile.mkdirs(); |
|
|
|
|
|
|
|
System.out.println("Dirs added."); |
|
|
|
if (!myFile.exists()) { |
|
|
|
if (!myFile.exists()) { |
|
|
|
myFile.createNewFile(); |
|
|
|
myFile.createNewFile(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|