Upload file from MT4 to Webspace

MQL5 积分 C++ JavaScript PHP HTML

工作已完成

执行时间2 小时
员工反馈
one of the best customers i have ever worked. patient, professional with a so nice personality.
客户反馈
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.

指定

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

反馈

1
开发者 1
等级
(3)
项目
3
33%
仲裁
0
逾期
0
空闲
2
开发者 2
等级
(192)
项目
232
30%
仲裁
1
100% / 0%
逾期
9
4%
空闲
发布者: 2 代码
相似订单
Welcome to my freelance profile. I am a disciplined and detail-oriented trading systems specialist with strong expertise in: Algorithmic Trading (MT4 & MT5) EA/Indicator Setup & Technical Support Signal Creation, Optimization & Risk Structuring Strategy Testing & Performance Evaluation Trade Automation & System Fine-Tuning My work is based on accuracy, transparency, and strict professional standards. I ensure that
We are looking for a skilled developer with proven experience integrating the Deriv API WebSocket, ( https://developers.deriv.com/docs/getting-started ) to connect our trading web application with Deriv SmartTrader accounts. Our platform already generates AI-based trading signals , and the goal is to allow users to: Log in with their Deriv account (OAuth or API tokens) Fetch and display real-time account details
Job Title: Cloud-Based MT4/MT5 Trade Copier Developer (Project-Based) Project Overview: Looking for an experienced developer to build a cloud-hosted trade copier platform similar in concept to leading web-based multi-account trade copiers. The system must copy trades in real time between multiple MT4/MT5 accounts (and later other platforms), with low latency, strong security, and a modern web dashboard for
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade

项目信息

预算
30 - 80 USD
截止日期
 1  7 天