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.
Hi,
First, I do a couple of csv files for different magic numbers in this EA. (3 different)
I then call FTP function to send this to my FTP.
The first goes well and lands at FTP.
Second I get an errormessage "FTP: change directory failed [path in settings]
Third csv goes well and lands at FTP.
I first thought that the calls was too close to eachother, so I put Sleep(5000) after sending each file.
Still the same issue.
I have also tried to change order in what magic sends as second. Still same issue.
Does anyone has any clue of whats going on here?
This is how I call my functions (NewCandleOnChart does so the code runs once when a new bar is up)
This is my call to FTP function.