Timeout on http request via wfopen

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

loulouviews
Posts: 60
Joined: Wed Mar 11, 2015 2:19 am

Timeout on http request via wfopen

Postby loulouviews » Wed Jun 29, 2016 7:31 am

Hello,

I'm importing data from an html table using wfopen. Unfortunately, the request is quite long since the website's response is slow.
It seems that EViews is cancelling the request before the website succeeds in responding. Thus, is there any way to increase timeout ?
Thanks a lot

Louis

EViews Steve
EViews Developer
Posts: 799
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: Timeout on http request via wfopen

Postby EViews Steve » Wed Jun 29, 2016 8:41 am

Currently there is no way to increase the timeout for WFOPEN URL calls. It's something we should definitely add in the future.

My only suggestion would be to open the page fully in your browser, then save it as a static HTML file on your desktop. Then use a file reference to the html file in your WFOPEN call (or simply drag the HTML file onto EViews).

Steve

loulouviews
Posts: 60
Joined: Wed Mar 11, 2015 2:19 am

Re: Timeout on http request via wfopen

Postby loulouviews » Fri Jul 01, 2016 2:16 am

Ok thanks for your reply Steve !
Best,
Louis


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 26 guests