I would like to save remotely (ideally streaming for larger tuples) over http.
As starter, I tried to save a histogram as png
outURL = gSystem->Getenv("OUTURL") c1->SaveAs(outURL)
outURL = https://my.http.endpoint:2880/path/to/write/out.png?authz=MDA0Y...
which failed with
Error in <TPostScript::Text>: Cannot open temporary file: https://my.http.endpoint:2880/path/to/write/out.png?authz=MDA0Y...
Since uploading the files manually with davix works, I suppose that the principle http handling should work. But I am not sure from the error message, if I can avoid temporary files but stream directly to remote (in case can I set a temporary local path in addition to the actual remote output path)?
Since in the URL I am appending query arguments to the actual file path, I guess simply deducing the file format from the file name would not work but I would have to give the target format explicitly somehow?
Maybe somebody has already some experiences with that?
Cheers and thanks for ideas,
_ROOT Version: 6-18-00
_Platform: Fedora 29