In-built FTP publisher stops randomly

 

The Publisher stops functioning after some time.


Can this be put in a function or method in code?


So you can called SendReport() or PublishReport() in future MT5 version?

 
johhny6:

The Publisher stops functioning after some time.

Can this be put in a function or method in code?

So you can called SendReport() or PublishReport() in future MT5 version?

What do you mean under 'stops functioning'? Can you give more details please?

Please look at the SendFTP function:

Sends a file at the address, specified in the setting window of the "Publisher" tab.

 
Alexx:

What do you mean under 'stops functioning'? Can you give more details please?

Please look at the SendFTP function:


It stops functioning after you select different data in the history, but i can't reliably re-create it.

For example, if you select it to show Deals only, it publishes deals only - which is fine.

But some times after changing the history options, it stops publishing data. It still connects and says it publishes the data, but the html is not updated with the recent history. It shows the P/L, but not the history you want.

I think it relates to large data. To fix it some times, I change history to "last 3 months" and it works again. But then randomly stops.


I can use SendFTP in my EA, but it only sends the file I want.

It would be good to allow an EA to publish the same as the automatic FTP publications.

Reason: