Upload file to a server

To add comments, please log in or register
GreenKobra
49
GreenKobra  
Good afternoon 
How do I upload a file (pic.jpg) from a MT4 folder to a remote server?  
I'd like to know also if there are some libraries to import and which functions can  I use?
Thank you
Marco vd Heijden
Moderator
12714
Marco vd Heijden  

Hello you can use 

SendFTP();

Function.

See https://www.mql5.com/en/docs/network/sendftp

Documentation on MQL5: Network Functions / SendFTP
Documentation on MQL5: Network Functions / SendFTP
  • www.mql5.com
Network Functions / SendFTP - Reference on algorithmic/automated trading language for MetaTrader 5
GreenKobra
49
GreenKobra  
Marco vd Heijden:

Hello you can use 

Function.

See https://www.mql5.com/en/docs/network/sendftp

I need to connect to a remote pc and insert credentials: host name, username, password, port.how should I specify these parameters with SendFTP function?

To add comments, please log in or register