MQL5 VPS Sync deletes stored files / common files ?

 

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);

Reason: