string Filename = "shots\\photo.jpg";
It doesn't work.The error is now 4264 (FTP path not found on server).It print this message: 2019.12.05 14:41:21.573 FTP: change directory failed [C:\Users\trading\AppData\Roaming\MetaQuotes\Terminal\B8A68C5F345865DD17F6020D17018025//MQL4//Files//shots//] - 550 C:\Users\trading\AppData\Roaming\MetaQuotes\Terminal\B8A68C5F345865DD17F6020D17018025//MQL4//Files//shots//: No such file or directory

- www.mql5.com
It doesn't work.The error is now 4264 (FTP path not found on server).Wht I have to write in the second parameter of SendFTP function?
Of course it works.
Read the documentation.
Of course it works.
Read the documentation.
thank you very much, now it works
Of course it works.
Read the documentation.
Juast a question...SendFTP function doesn't work on custom indicators?

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi there,
I've created a script to automatically take a screenshot and save it locally on my Meta trader.
So far all good
i've then made another script to send the screenshot from the local metatrader folder to a remote server.
When trying to execute it gives me error 5002 (wrong file name).
Below you can find my script:
The FTP area in my metatrader is all correctly set.
Can anyone please explain me what the issue is?