You need to downloaded files from this server ?
You need to use InternetOpenW() to get your "m_inet" handle, not InternetAttemptConnect().
See this article...
Using WinInet.dll for Data Exchange between Terminals via the Internet
- www.mql5.com
This article describes the principles of working with the Internet via the use of HTTP requests, and data exchange between terminals, using an intermediate server. An MqlNet library class is presented for working with Internet resources in the MQL5 environment. Monitoring prices from different brokers, exchanging messages with other traders without exiting the terminal, searching for information on the Internet – these are just some examples, reviewed in this article.
See also...
Metatrader5 MacOS - Problem with Wininet.dll and FtpGetFileW
- 2023.02.13
- www.mql5.com
Hello everyone, I recently coded an expert that allows me to automatically download various files from my FTP server and also upload my trading sta...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I'm trying to connect to an FTP server but it always fails. Above is what i'm doing. Has anyone already made that?