This thread is expired i feel.just this update is for users to know..
change 1st line to;
Qt Code:
  1. QUrl uploadurl("ftp://ftp.drivehq.com/wwwhome/xxxx");
To copy to clipboard, switch view to plain text mode