Upload file to a server

 
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
 

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
 
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?