17 std::string newurl ((proto ==
"web" ?
"http" : proto) +
":" + path);
18 const char *curlopts [] = {
19 "curl",
"-L",
"-f",
"-o", temp.c_str(),
"-q",
"-s",
"--url",
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
virtual std::unique_ptr< Storage > open(const std::string &proto, const std::string &path, int mode, const AuxSettings &) const override
#define DEFINE_EDM_PLUGIN(factory, type, name)