?
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
28aad6d2b4
commit
d0c38170be
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user