10 const std::string &
path,
16 std::string newurl ((proto ==
"web" ?
"http" : proto) +
":" + path);
17 const char *curlopts [] = {
18 "curl",
"-L",
"-f",
"-o", temp.c_str(),
"-q",
"-s",
"--url",
static StorageFactory * get(void)
virtual Storage * open(const std::string &proto, const std::string &path, int mode)
static int local(const std::string &tmpdir, std::string &temp)
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)