logger.log(Level.INFO, " - Creating folder at " + targetFileVersion + " ...");
try {
// Clean filename
if (targetDirPath.hasIllegalChars()) {
targetDirPath = targetDirPath.toCreatable("filename conflict", true);
logger.log(Level.INFO, " - Had illegal chars, cleaned to "+targetDirPath);
}
// Try creating it
createFolder(targetDirPath);