Download MetaTrader 5

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

To add comments, please log in or register
Piotr
1262
Piotr  

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

Using MQL5 or MQL4 code on Expert Advisor?

Vasyl Nosal
19750
Vasyl Nosal  
WebRequset()
Piotr
1262
Piotr  
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

Vasyl Nosal
19750
Vasyl Nosal  
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.
Piotr
1262
Piotr  
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().

To add comments, please log in or register