If you know the names of the files you need to fetch then it should be as simple as providing a complete URL using the FTP: scheme:
then your get() call will do the right thing. When data starts returning you will get readyRead() signals from the QNetworkReply object to handle in a slot. When the connection is made you may also get a metadataChanged() signal with some details about the file.Qt Code:
To copy to clipboard, switch view to plain text mode
If you need to navigate the site to find files of unknown name then it becomes more complicated.
Regarding the SOAP request: yes it is possible for an HTTP endpoint. You will need to construct the SOAP payload yourself, ensure the correct Content-Type header (maybe others, e.g. SOAPAction) for the request then post() it. The response come back just like a web server, just with a SOAP structure and Content-Type.




Reply With Quote

Bookmarks