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. QT 5.5 - Working on FTP
QtWS25 Last Chance

QT 5.5 - Working on FTP

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtftpqt 5.5.1ftp
9 Posts 2 Posters 3.5k Views
  • 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.
  • djmassiveD Offline
    djmassiveD Offline
    djmassive
    wrote on last edited by
    #1

    Hello,

    If i don't want to use QFTP - how can i connect and make some things on FTP using QT 5.5.
    If there is no possibility - where i can find QTFtp that i can compile to working plugin on OS X.
    I found some sources on github, but there is no headers at all.

    Thank for any help.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You can implement it yourself using QNetworkAccessManager but the QtFTP module is available at code.qt.io which is the official repository for Qt's sources and it builds on OS X with Qt 5.5.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • djmassiveD Offline
        djmassiveD Offline
        djmassive
        wrote on last edited by
        #3

        Thank You, but here i see exactly same files like in source that i found @ github.
        How can i compile this ?

        I know - simply question :-) There is no configure, no make file.... :-)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          It's a Qt module, there's a .pro file in the top folder so:

          cd qtftp
          qmake
          make
          make install
          

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • djmassiveD Offline
            djmassiveD Offline
            djmassive
            wrote on last edited by
            #5

            Its so simple :-) no problems - module compiled successful.
            Thank YOU !!

            1 Reply Last reply
            0
            • djmassiveD Offline
              djmassiveD Offline
              djmassive
              wrote on last edited by
              #6

              I've got error:
              QIODevice::write (QTcpSocket, "QFtpPI_socket"): device not open

              ftp_host, ftp_login, ftp_pass are valid variables with ftp account data.

              QFtp ftp;
              ftp.connectToHost(ftp_host, 21);
              ftp.login(ftp_login,ftp_pass);
              ftp.list();
              ftp.close();
              

              Why i've got this error ?
              Working on OSX.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Do you have an event loop running ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • djmassiveD Offline
                  djmassiveD Offline
                  djmassive
                  wrote on last edited by
                  #8

                  No.It is new empty project, where i want to get know how this module works, and how to use it.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    By building and reading the documentation and taking a look at the example in the sources

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    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