16 std::string newurl ((proto ==
"web" ?
"http" : proto) +
":" + path);
17 const char *curlopts [] = {
18 "curl",
"-L",
"-f",
"-o", temp.c_str(),
"-q",
"-s",
"--url",
virtual Storage * open(const std::string &proto, const std::string &path, int mode) override
static StorageFactory * get(void)
static int local(const std::string &tmpdir, std::string &temp)
tuple path
else: Piece not in the list, fine.
std::string tempDir(void) const
static Storage * get(int localfd, const std::string &name, char **cmd, int mode)
#define DEFINE_EDM_PLUGIN(factory, type, name)