Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Future of QFtp or QNetworkAccessManager
Forum Updated to NodeBB v4.3 + New Features

Future of QFtp or QNetworkAccessManager

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rakor
    wrote on last edited by
    #1

    Hi there!

    I would like to switch from Qt4.8 to 5.1 (or 5.2) in near future. I have a lot of ftp-transfers which were done by QFtp, which ist deprecated in Qt5.x. So I implemented the transfers using QNetworkAccessManager.

    This works well, but I also need to browse the filelist on the server. As far as I know there is no way to do so using QNetworkAccessManager (with QFtp this was possible).

    Will QFtp be included into Qt5 again (I know there is a gitorious with it) or will QNetworkAccessManager be pushed to support filelists fetching?

    How could I implement this at the moment? Do I have to code all stuff by myself using sockets?!

    Thank you

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      i'm not sure if it works, but if it does you can just copy the sources to your project and keep using it. Keep the LGPL licensing issues in mind. Probably best would be to compile QFTP as a DLL and use it in your project.

      Alternatively you can use a 3rd-party C/C++ lib for FTP transfer.

      But QNetworkAccessManager doesn't support the whole FTP protocol and probably never will be (at least in Qt 5)...

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        QFtp design is considered to be flawed, there are no plans to bring it back to mainline Qt. Qt Project is happy to receive contributions, though, so if anybody ever rewrites QFtp, or creates a new one from scratch, it has a high probability of being accepted as a playground project and then being integrated into upstream (if it is good enough, that is).

        (Z(:^

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved