41 throw std::runtime_error(
"You are trying to use WebDAV, "
42 "but it does not seem to be installed.");
47 std::string cmd =
"wget --no-check-certificate ";
50 cmd +=
" -O " + localFile.string();
51 cmd +=
" " +
m_connection.hostUrl +
"/" + distantFile.string();
The connection configuration mainly holds:
DataSynchronizer(const ConnectionConfiguration &connection, const DependencyConfiguration &dependency)
ConnectionConfiguration m_connection
The dependency configurations holds, for each test file to be retrieved:
WebdavSynchronizer(const ConnectionConfiguration &connection, const DependencyConfiguration &dependency)
std::string createDownloadCommand(path distantFile, path localFile) const override
ELEMENTS_API bool webdavIsInstalled()
Check whether the WebDAV client is installed.
Path::Item path
importing the path item from ElementsKernel
ELEMENTS_API bool checkCall(const std::string &command)