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.

Qt Code:
  1. //connection//
  2. QNetworkAccessManager *manager = new QNetworkAccessManager();
  3. QUrl url2("ftp://ftp.[site]");
  4. url2.setPort(#);
  5. url2.setPassword("[pass]");
  6. url2.setUserName("[user]");
  7. QNetworkRequest req(url2);
  8. QNetworkReply *reply = manager->get(req);
  9. //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!