Can GoAnywhere Press a Screen Button?

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
4 posts Page 1 of 1

DavidRansdell

Posts: 3
Joined: Thu Oct 14, 2010 11:24 am

Post by DavidRansdell » Thu Mar 05, 2015 3:20 pm
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?
--
David Ransdell

Jonathan

Posts: 18
Joined: Wed Jan 02, 2013 5:27 am
Location: Mapledurham, UK

Post by Jonathan » Mon Mar 09, 2015 4:35 am
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>

DavidRansdell

Posts: 3
Joined: Thu Oct 14, 2010 11:24 am

Post by DavidRansdell » Mon Mar 23, 2015 6:34 pm
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
--
David Ransdell

rogers1

Posts: 1
Joined: Wed Apr 30, 2014 9:44 am

Post by rogers1 » Fri May 08, 2015 2:38 pm
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
4 posts Page 1 of 1