this.persistentTempDir = node.setupProgramDir(installConfig, "persistentTempDir", node.userDir().file("persistent-temp").toString(),
"NodeClientCore.persistentTempDir", "NodeClientCore.persistentTempDirLong", nodeConfig);
fcpPersistentRoot = new PersistentRequestRoot();
try {
this.persistentTempBucketFactory = new PersistentTempBucketFactory(persistentTempDir.dir(),
"freenet-temp-", node.random, node.fastWeakRandom, nodeConfig.getBoolean("encryptPersistentTempBuckets"));
this.persistentFilenameGenerator = persistentTempBucketFactory.fg;
} catch (IOException e) {
String msg = "Could not find or create persistent temporary directory: "+e;
e.printStackTrace();