How to OPEN & READ out-side TXT FILE on WEB SITE?

 

Has anybody idea, How to OPEN & READ out-side TXT FILE on WEB SITE?

Using MQL5 or MQL4 code on Expert Advisor?

 
WebRequset()
 
Vasyl Nosal:
WebRequset()


On my WWW server there is the file TEST.txt. Could YOU please any example, from Expert mql5/mql4 CODE:

1/. read this file from path: http://robot-mt4.pl/TEST.txt

2/. set string parameter ea_test with value of content of TEST.txt file

3/. Print the ea_test parameter after run EA

 
Piotr:


On my WWW server there is the file TEST.txt. Could YOU please any example, from Expert mql5/mql4 CODE:

1/. read this file from path: http://robot-mt4.pl/TEST.txt

2/. set string parameter ea_test with value of content of TEST.txt file

3/. Print the ea_test parameter after run EA

If you use webrequest than EA copy site to file. Than you need to work with file.
 
Vasyl Nosal:
If you use webrequest than EA copy site to file. Than you need to work with file.

WebRequest() function does not read the file.

Using above function You will not open & read this file via OpenFile().