Upload file from MT4 to Webspace

MQL5 Integración C++ JavaScript PHP HTML

Trabajo finalizado

Plazo de ejecución 2 horas
Comentario del Ejecutor
one of the best customers i have ever worked. patient, professional with a so nice personality.
Comentario del Cliente
Hamed is hard working and nice. He did work with on the project, until almost completed, even before I selected him in MQL5's freelance system. Will definitely will do some more with him.

Tarea técnica

Hello all,

I am a forex trader, and a coder too. I am having a hard time to try to have a way to do the following but too busy with many other tasks...

I need a way to upload a file from MQL4\Files (or sub folder of this) at certain time interval to a web space but not to use DLL or SendFTP. There are 2 parts of the coding: Client side, and Server side.

(1) Client side: an Expert Adviser running in MT4 or MT5 platform. This must use WebRequest with Post method.

(2) Server side: a PHP file that can receive communication from the EA to do the uploading to the right location on the server.

Update: I have been able to create an .html file (Upload.html) on client's computer and upload.php on sever to do the uploading. You can try it here: 
http://iamintofx.com/Upload.html

What I don't know yet is to construct "headers" string and "data" array in WebRequest() function as below (so that we have the correct request message sent to server):

int  WebRequest(
   const string      method,           // HTTP method
   const string      url,              // URL
   const string      headers,          // headers 
   int                   timeout,          // timeout
   const char        &data[],          // the array of the HTTP message body
   char                 &result[],        // an array containing server response data
   string               &result_headers   // headers of server response
   );

Thank you

Han respondido

1
Desarrollador 1
Evaluación
(3)
Proyectos
3
33%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(192)
Proyectos
232
30%
Arbitraje
1
100% / 0%
Caducado
9
4%
Libre
Ha publicado: 2 ejemplos
Solicitudes similares
Kenna man 30+ USD
GainzAlgo Suite Add to favorites Use on chart 33.1 K 563 329 744 ⭐ GainzAlgo Suite — Multi-Model Analytical Framework GainzAlgo Suite consolidates five independently developed analytical methodologies into a single, unified framework. Each configuration represents a distinct internal calculation model created at different stages of the project’s evolution. The Suite provides traders with a structured way to explore
JDE LS 53+ USD
Purpose The system aims to: Analyze forex market data in real time Identify trading opportunities quickly Automatically execute trades Help users potentially grow small capital (e.g., R1000+), without guaranteeing profits 3. 👥 Users Beginner traders Intermediate traders Admin/Developer (to manage and monitor the bot) 4. ⚙️ Functional Requirements 4.1 Market Data Analysis The bot must collect real-time price data
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea

Información sobre el proyecto

Presupuesto
30 - 80 USD
Plazo límite de ejecución
de 1 a 7 día(s)