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. QFtp error (solved)
Qt 6.11 is out! See what's new in the release blog

QFtp error (solved)

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.4k 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.
  • H Offline
    H Offline
    houmingc
    wrote on last edited by
    #1

    Try to use ftp resource in Qt.
    ------pro file---------------
    QT +=network

    ------cpp file----------
    #include <qftp.h>

    qftp.h: no such file or directory.
    Been reading on ftp class for past few days to find there is no such Qt module is very frustating.
    I need C++ ftp API and header files, anyone can direct me, pls?

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      QFtp doesn't exist in Qt 5. It was removed because its design was flawed.

      If you want to use it, you must compile it yourself. See http://qt-project.org/forums/viewthread/23667 or search Google.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • H Offline
        H Offline
        houmingc
        wrote on last edited by
        #3

        where to find FTP C++ library, anyone can direct me, pls? I am writing very simple function to download files.
        libcurl have to make so many installation (libSSH2, OpenSSL, Perl)

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          See the link I posted :) There, you can find a link to the QFtp source code and instructions on how to add it to your project.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • H Offline
            H Offline
            houmingc
            wrote on last edited by
            #5

            http://www.unix.com/programming/86343-ftp-library.html
            http://nbpfaus.net/~pfau/ftplib/
            From the link above, i will try of ftplib first. there is also other library
            http://sourceforge.net/projects/aftp/
            http://pocoproject.org/docs/Poco.Net.FTPClientSession.html

            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