Script Download File from internet using Windinet.dll and Overwrite old version

MQL4 专家 脚本

工作已完成

执行时间1 一天
员工反馈
Great Customer, great insight of his work and great experience for me.
客户反馈
Fast delivery developer, always able to communicate fast and update necessary improvement based on request. Highly recommended developer to go with DLL related project

指定

I need a simple script that can download a zip file from internet (link given in chat later).


The script should do (in sequence)

  1. Download the zip file from given link
  2. Save the file at Terminal Folder location (the one that usually when we open data folder for our MT4/5)
    • If there is exisitng zip file, it will overwrite
  3. Unzip the zip file (inside got 3 folder, MQL4, template and tester)
  4. Copy these folder and paste it (overwrite) at the initial terminal folder. (Update the ex4 files)
  5. After complete the overwrite, Zip file is deleted.
  6. Message box will pop up and inform me the process is completed.


Download the file should use WindInet.dll (Sample code = https://www.mql5.com/en/code/82)

File management one I think it can be done using kernal.dll.

If you got other DLL to suggest is also welcome to let me know in advance.


For step 3,4 - Copy out the folder and overwrite, please let me know if is posible to do it or not. Open for any suggestion.


Code need to be clean and easy to understand. Perferbly with description beside.

Source code is needed.




反馈

1
开发者 1
等级
(252)
项目
258
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
2
开发者 2
等级
(163)
项目
236
32%
仲裁
30
27% / 30%
逾期
26
11%
空闲
3
开发者 3
等级
(77)
项目
243
74%
仲裁
7
100% / 0%
逾期
1
0%
空闲
发布者: 1 文章
4
开发者 4
等级
(42)
项目
49
47%
仲裁
1
100% / 0%
逾期
1
2%
空闲
发布者: 1 代码
5
开发者 5
等级
(94)
项目
162
40%
仲裁
20
15% / 75%
逾期
73
45%
空闲
发布者: 3 代码

项目信息

预算
30+ USD