How do I download a file from http://www.cboe.com/DelayedQuote/QuoteTableDownload.aspx automatically

I am trying to download stock option chains automatically.

When I go to http://www.cboe.com/DelayedQuote/QuoteTableDownload.aspx webpage, I must enter a symbol and press download, press save, determine the location and so on. I would like to automate this.

Further, www.cboe.com has added something to this web page where you cannot automatic this action.

The formatted post for a symbol like amd is this:

 http://www.cboe.com/DelayedQuote/QuoteTableDownload.aspx?__EVENTTARGET=&__EVENTARGUMENT=&__VIEWSTATE=dDwtODQ5MjIyNjc7Oz5rmegY%2B4O27l7uWcpGd4iU%2B1RpAA%3D%3D&ucHeader%3AucCBOEHeaderLinks%3AucCBOEHeaderSearch%3Asearchtext=&ucQuoteTableDownloadCtl%3AtxtTicker=amd&ucQuoteTableDownloadCtl%3AcmdSubmit=Download

Can anyone help automate this using Delphi?


LVL 2
CalvinDayAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

calinutzCommented:
From the same website:

PLEASE NOTE: IT IS STRICTLY PROHIBITED TO DOWNLOAD DELAYED QUOTE TABLE DATA FROM THIS WEB SITE BY USING AUTO-EXTRACTION PROGRAMS/QUERIES AND/OR SOFTWARE. CBOE WILL BLOCK IP ADDRESSES OF ALL PARTIES WHO ATTEMPT TO DO SO. THIS DATA IS PROPERTY OF THOMSON FINANCIAL/ILX. DOWNLOADING THIS DATA IN ANY OTHER WAY THAN BY MANUAL TICKER SYMBOL ENTRY IS STRICTLY PROHIBITED.

So what you are asking is not legal...
0
Kyle FosterCEOCommented:
There are a lot of sites where you can download using an activeX control.  I would recommend one of these.  

If programmers cheat programmers then where are we?  Back to the ethics!
0
Eddie ShipmanAll-around developerCommented:
I don't think you'll be able to automate that aspx page programatically.
You can try AutoIt!: http://www.autoitscript.com/AutoIt/downloads.php
Download the DLL, it contains a Delphi wrapper that you can use to write
you own scripts to automate the web page.

0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

jexd99Commented:
Plus they could be updating the script regularly or simply altering locations, etc., even if you automate it the minute you think you have it working..... it suddenly stops and you would need to try and patch it again.  Bad idea.....

0
Eddie ShipmanAll-around developerCommented:
Then using AutoIt! would work because it automates the browser and they would have NO idea that it
is being automated.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eddie ShipmanAll-around developerCommented:
If you need help on AutoIt!, let me know.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.