Skip to main content

Hi folks !

I want to read HTTP tables for a bunch of url stored on an attribute of my features. However, a basic authentification is needed to access the page.

If I set the attribute containing the URL in the source dataset of the feature reader, I cant set any authentification parameters.

Everything is working fine if I manually enter one url, then go to the parameters. (as if I use a Reader)

Any clue on how to use this authentification in the FeatureReader ?

Hi @nmatton, how about using the TempPathnameCreator and the HTTPCaller to download and save the HTML document into temporary file? You can always set authentication parameters in the HTTPCaller. Then, you can use the FeatureReader to read the temporary HTML file without authentication.


Hi @nmatton, how about using the TempPathnameCreator and the HTTPCaller to download and save the HTML document into temporary file? You can always set authentication parameters in the HTTPCaller. Then, you can use the FeatureReader to read the temporary HTML file without authentication.

Yeah, perfect solution ! Thank you ! I've not even start to think a solution like this !

 

and thanks also for your quick reactivity !

 

 


Reply