I want to read the content of a text file which is located in the site
https://www.frbservices.org/EPaymentsDirectory/FedACHdir.txt
I want to read it using Java . I started it with using HttpsUrlConnection Class .
When we take the above URL in the browser , we will first redirect to a agreement page and if we click the agree button , we can see the text file . How we can do the same procedure using HttpsUrlConnection class ?
This is what I tried:
myFunction(new Struct(x,y));
Any inputs will be highly appreciable