In the docs, you will find:
  • FTP Example
  • Secure Socket Client Example
  • Torrent Example
  • QSslSocket


And of course you can have a look in the sources of the various ftp client for KDE which all uses Qt.