We would like to ask how to read a root file via the HTTP server after the site URL was renamed
from http:// to . The site is now password protected. Here are the commands that have
been tried (using example names) and the error messages:
root  TFile *_file0 = TFile::Open(“https://username:firstname.lastname@example.org/myDir/myFile.root”)
Error in TFile::TFile: file myDir/myFile.root does not exist
case, just to illustrate the error message
root  TFile *_file0 = TFile::Open(“http://username:email@example.com/myDir/myFile.root”)
Error in TWebFile::GetHead: cannot connect to host (errno=2)
Error in TWebSocket::ReOpen: cannot connect to host (errno=2)
Error in TWebFile::GetFromWeb10: cannot connect to host
The wget command works, e.g.
wget --no-check-certificate username:firstname.lastname@example.org … yFile.root
It would be helpful if you would you give us a hint if our command (in 1. case above) was wrong
and how to workaround or solve this issue.