diff --git a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp index c7ad2540..d49f547e 100644 --- a/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp +++ b/repertory/librepertory/src/drives/fuse/remotefuse/remote_server.cpp @@ -1730,6 +1730,7 @@ auto remote_server::update_to_windows_format(const std::string &root_api_path, return item; } + item[JSON_DIRECTORY] = utils::string::from_bool(true); item[JSON_META] = meta; } @@ -1755,7 +1756,7 @@ auto remote_server::update_to_windows_format(const std::string &root_api_path, } auto attributes = utils::string::to_uint32( - item[JSON_META][META_ATTRIBUTES].get); + item[JSON_META][META_ATTRIBUTES].get()); if (item[JSON_DIRECTORY].get()) { if ((attributes & FILE_ATTRIBUTE_DIRECTORY) != FILE_ATTRIBUTE_DIRECTORY) { attributes |= FILE_ATTRIBUTE_DIRECTORY;