Unsolved Fetch file/data from remote server via Ethernet / Wlan / localhost connection. What class to use in Qt?
-
I have a remote system running Python or C++ on Linux or on Windows that generates some data (1MB - 50MB size) that may be stored as a file or as a object in memory. The remote system does not run Qt.
I want to transfer this data to a file or to an object in memory on a central machine that is running Qt. The central Qt machine will typically ask for data or request to store data on the remote system. The remote system will just do what the central system is asking it to do. (Master slave type of idea).
Connection can be via Ethernet, WLAN or localhost over TCP/IP. The goal is to separate the GUI part and the data collecting and storing parts of the system. (In certain situations both the data generator and the data receiver may even be on the same host. Then localhost would be used).
I believe that FTP is an old fashioned way to transfer data? Are there any classes in Qt that could take care of such transfer to and from a remote system that you would recommend to take a look at as an alternative to FTP?
-
@Mike5500
You might like to have a read of http://www.qtcentre.org/archive/index.php/t-58978.html, and http://doc.qt.io/qt-5/sourcebreaks.html (search forQFtp
), while you're waiting for a better Qt expert than I to reply... -
@Mike5500 You should start here https://doc.qt.io/qt-5.10/qtnetwork-index.html
Examples: http://doc.qt.io/qt-5/examples-network.html