Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
My EA is storing data in CSV files for export once a day. Every minute data is appended to the file. This works fine on my local machine.
When I sync the EA to my MQL5 VPS then it seems that the file (common) folders are cleared. So the collected Data is lost with every sync.
Is this a confirmed behavior of the VPS or am I doing something wrong with my append-function?
int Flags = FILE_CSV|FILE_READ|FILE_SHARE_READ|FILE_WRITE; // same effect with FILE_COMMON
int file_handle = FileOpen(strFileName, Flags);
FileSeek(file_handle, 0, SEEK_END);
FileWrite(file_handle, "SomeTestData");
FileClose(file_handle);