17 std::string newurl ((proto ==
"web" ?
"http" : proto) +
":" + path);
18 const char *curlopts [] = {
19 "curl",
"-L",
"-f",
"-o", temp.c_str(),
"-q",
"-s",
"--url",
20 newurl.c_str (),
nullptr
static std::unique_ptr< Storage > get(int localfd, const std::string &name, char **cmd, int mode)
static int local(const std::string &tmpdir, std::string &temp)
static const StorageFactory * get(void)
std::string tempDir(void) const
#define DEFINE_EDM_PLUGIN(factory, type, name)
std::unique_ptr< Storage > open(const std::string &proto, const std::string &path, int mode, const AuxSettings &) const override