Hi everyone, I am a newbie when it comes to Qt - I've only been developing for about a month or so and I do not have a developer background. Be gentle!
I am in the process of creating a new version of an app we have using Qt Creator and I've hit a road block. I am in need of some help understanding how to connect to an ftp server with credentials and automatically download a few files as soon as the app opens. I've looked at a few examples but nothing seems to work / make sense to me and all I have so far is below. I am slowly understandings slots and signals but I am still not able to wrap my brain around it entirely.
main.cpp
Qt Code:
//connection// QNetworkAccessManager *manager = new QNetworkAccessManager(); url2.setPort(#); url2.setPassword("[pass]"); url2.setUserName("[user]"); QNetworkRequest req(url2); QNetworkReply *reply = manager->get(req); //end connection//To copy to clipboard, switch view to plain text mode
Also, is there a way to call a web service (php file / SOAP) via a button click? A co-worker of mine mentioned calling it in javascript and then calling the javascript onClick but I haven't found and good examples of this.
Thank you for your time!
Bookmarks