Page 1 of 1

Can GoAnywhere Press a Screen Button?

Posted: Thu Mar 05, 2015 3:20 pm
by DavidRansdell
Maybe not press the button exactly, but something similar..

We have been downloading the ACH directory from

https://www.frbservices.org/EPaymentsDi ... ACHdir.txt

successfully for quite a while and two weeks ago they inserted a middle step that requires the user to agree to the terms of service before being allowed to download the file.

Here is their information:
"For users that have created their own automated data download programs, the change to the location of the downloadable text files will mean that automated download programs may no longer work properly upon the February 22, 2015, implementation date. Directory users that rely on automated data download programs should be prepared to manually retrieve the data. Upon the move implementation date, the new download file locations will be in use and visible from the E-Payments Routing Directory service home page on
FRBservices.org at http://www.frbservices.org/operations/e ... ments.html
All directory users, including those using automated data download programs, will continue to be required to
agree to terms of use
before they can access any of the directory’s functionality, and all should confirm that they are using the data in a manner consistent with the terms of use."


I would like to continue to have GoAnywhere download and transfer the text file but need it to agree to the terms each time to do so.

Any ideas?

Re: Can GoAnywhere Press a Screen Button?

Posted: Mon Mar 09, 2015 4:35 am
by Jonathan
Hi David,

The project below will handle this for you, The trick is to work out the flow on the website to see where it is posting then pass through the parameters is expects.

In this case the first page to hit is /EPaymentsDirectory/submitAgreement passing through agreementValue=Agree. Once this is done and we have the cookie we can then hit /EPaymentsDirectory/FedACHdir.txt and save the response body to a file.

All you need to change in the project below is the outputFile variable and you are good to go.
Code: Select all
<project name="ACH Directory" mainModule="Main" version="2.0" logLevel="verbose">

	<module name="Main">

		<https followRedirects="true" enableCookies="true" host="www.frbservices.org" version="1.0">
			<post uri="/EPaymentsDirectory/submitAgreement">
				<parameter name="agreementValue" value="Agree" />
			</post>
			<get uri="/EPaymentsDirectory/FedACHdir.txt" followRedirects="true" responseBodyDestination="file" responseBodyFile="${outputFile}" responseHeadersDestination="joblog" />
		</https>

	</module>

	<variable name="outputFile" value="/home/forum/FedACHdir.txt" />
</project>

Re: Can GoAnywhere Press a Screen Button?

Posted: Mon Mar 23, 2015 6:34 pm
by DavidRansdell
Hey Jonathan,

Thanks for posting that. I inserted it into the project and it worked just as you promised.

I would have commented earlier, but I forgot to come back here and see if I had any replies until just now.

I thought I might receive an email if there were any, but didn't.

I hoped it would be an easy enough thing to do for someone more attuned to website submitting and such.

Hope I can help you some day....

David

Re: Can GoAnywhere Press a Screen Button?

Posted: Fri May 08, 2015 2:38 pm
by rogers1
Jonathan, I'm having a SSL error on the Post.

5/8/15 3:24:06 PM INFO Executing task 'https 1.0'
5/8/15 3:24:06 PM INFO Executing sub-task 'post'
5/8/15 3:24:06 PM ERROR [8098 - https] Received fatal alert: handshake_failure