Open file on the web

For questions regarding programming in the EViews programming language.

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

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Open file on the web

Postby javiersan » Thu Jan 13, 2011 6:58 am

Hello,

The following is an example of a type of address on the web that I cannot figure out how to read in Eviews.

Say you want to wfopen the excel link provided in the page: http://www.bdl.gov.lb/edata/elements.as ... _BDLa_SID4
it's URL is http://www.bdl.gov.lb/edata/elementsXLS ... _BDLa_SID4
which when clicked opens a file called "BDLedata.xls"

but when you do

Code: Select all

wfopen(t) "http://www.bdl.gov.lb/edata/elementsXLS.asp?Table=q_BDLa_SID4"
Eviews doesn't open any excel file.

Is there a solution to this problem?

Thanks,

Javier

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: Open file on the web

Postby EViews Gareth » Thu Jan 13, 2011 9:00 am

Unfortunately EViews won't be able to interpret such a page. You'll have to download them manually :(

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

Re: Open file on the web

Postby javiersan » Thu Jan 13, 2011 3:59 pm

Just to confirm, it isn't possible either to open the html page, isn't it?

This doesn't work:

Code: Select all

wfopen(t=html) "http://www.bdl.gov.lb/edata/elements.asp?Table=q_BDLa_SID4"
Thanks,

Javier

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: Open file on the web

Postby EViews Gareth » Thu Jan 13, 2011 4:03 pm

Correct. EViews cannot interpret ASP, which is the technology used to create that webpage.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests