How to use proxy to TFile::Open a http file?

Hi,

At BNL, http access is only allowed via proxy. I have already set up proxy env under shell, on which wget works, but ROOT can not open http file.

So how can I tell ROOT to use the proxy instead of direct connection?

Thanks.

–Shuwei

Hi Shuwei,

currently TWebFile does not support proxy’s. I am implementing proxy support now and hopefully that works in a few days. I’ll let you know when you can try it.

Cheers, Fons.

Hi Shuwei,

I’ve implemented basic proxy support for TWebFile. Can you check out the trunk and give it a try?

Cheers, Fons.

Hi Fons,

Do you mean to check out the latest version of ROOT and to compile myself? Please advise to check out and to compile?

–Shuwei

Hi Shuwei,

installing from source is quite trivial, see:

root.cern.ch/drupal/content/inst … oot-source

Cheers, Fons.

Hi Fons,

I checked out the trunk and tried. Now I am able to open a http file via TFile::Open. Many thanks.

–Shuwei