diff --git a/libretroshare/src/ft/ftserver.cc b/libretroshare/src/ft/ftserver.cc index 693de6ff6..2f21bff0c 100644 --- a/libretroshare/src/ft/ftserver.cc +++ b/libretroshare/src/ft/ftserver.cc @@ -24,6 +24,7 @@ */ #include "util/rsdebug.h" +#include "util/rsdir.h" const int ftserverzone = 29539; #include "ft/ftserver.h" @@ -76,6 +77,9 @@ void ftServer::setConfigDirectory(std::string path) std::string localcachedir = mConfigPath + "/cache/local"; std::string remotecachedir = mConfigPath + "/cache/remote"; + RsDirUtil::checkCreateDirectory(localcachedir) ; + RsDirUtil::checkCreateDirectory(remotecachedir) ; + //mFiStore -> setCacheDir(remotecachedir); //mFiMon -> setCacheDir(localcachedir);