[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTPAPI Click Button then Download File
I'm trying to download the following file:
[1]https://www.frbservices.org/EPaymentsDirectory/FedACHdir.txt
When I do this in a browser I am redirected to
[2]https://www.frbservices.org/EPaymentsDirectory/agreement.html
That redirect requires me to click the "Agree" button (to their terms
of service) before I can continue to the original URL. (This is a
recent change as I had a program that was able to simply download the
file that was working for several years.)
I would like to use HTTPAPI to simulate "clicking" the "Agree" button
(because I do agree to their terms) and then download the file. I've
tried several methods but haven't found the proper solution, so I'm
hoping someone here can steer me in the right direction.
Here are some of the attributes from the page:
- Form: name="acceptedForm" id="acceptedForm"
action="submitAgreement" method="post"
- Button: id=agree_terms_use name="agreementValue"
type="submit" value="Agree"
I'm using V1.29 of HTTPAPI. Thanks for any help you can offer,
Bruce Guetzkow
***********************************************************************
************
PERSONAL & CONFIDENTIAL. THE E-MAIL MESSAGE (INCLUDING ANY ATTACHMENTS)
FROM THIS SENDER IS FOR THE SOLE USE OF THE INTENDED RECIPIENT(S) AND
MAY CONTAIN CONFIDENTIAL AND PRIVILEGED INFORMATION. IF THE READER OF
THIS MESSAGE IS NOT THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED
THAT ANY DISSEMINATION, DISTRIBUTION, UNAUTHORIZED REVIEW, USE OR
DISCLOSURE OF THIS E-MAIL IS PROHIBITED.
IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE IMMEDIATELY
NOTIFY US, BY CONTACTING [3]POSTMASTER@xxxxxxxxxxxxxxxxxx, RETURNING
THE ORIGINAL MESSAGE TO THE SENDER AND DELETING ANY COPIES FROM YOUR
SYSTEM. THANK YOU.
Scanned by the Clearswift SECURE Email Gateway.
***********************************************************************
************
References
1. https://www.frbservices.org/EPaymentsDirectory/FedACHdir.txt
2. https://www.frbservices.org/EPaymentsDirectory/agreement.html
3. mailto:POSTMASTER@xxxxxxxxxxxxxxxxxx
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------