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. Connection to FTP server
Forum Update on Monday, May 27th 2025

Connection to FTP server

Scheduled Pinned Locked Moved Unsolved General and Desktop
ftpftp repository
5 Posts 3 Posters 568 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.
  • P Offline
    P Offline
    Peladosok
    wrote on 21 Apr 2023, 18:24 last edited by
    #1

    Good afternoon everyone.
    I'm new to programming with Qt. I hope you can help me.
    I need to make an application that connects to an FTP server and allows me to browse the directories of the FTP server and download a file.
    Does anyone have an example of how to solve this problem? Could you guide me with what to do?
    I've been testing with the classes QNetworkAccessManager and with QTcpSocket, but I'm still unable to obtain the server tree.
    Estoy utilizando Qt 5.12.3
    Thank you

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Apr 2023, 18:40 last edited by
      #2

      Hi,

      The most simple would likely be to integrate libcurl.

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

      P 1 Reply Last reply 28 Apr 2023, 11:09
      1
      • S SGaist
        21 Apr 2023, 18:40

        Hi,

        The most simple would likely be to integrate libcurl.

        P Offline
        P Offline
        Peladosok
        wrote on 28 Apr 2023, 11:09 last edited by
        #3

        @SGaist thanks for the reply. Do you have an example to guide me in its use?

        J 1 Reply Last reply 28 Apr 2023, 11:18
        0
        • P Peladosok
          28 Apr 2023, 11:09

          @SGaist thanks for the reply. Do you have an example to guide me in its use?

          J Offline
          J Offline
          JonB
          wrote on 28 Apr 2023, 11:18 last edited by
          #4

          @Peladosok
          Really quite a few hits from Google Qt libcurl example.

          1 Reply Last reply
          2
          • P Offline
            P Offline
            Peladosok
            wrote on 28 Apr 2023, 11:56 last edited by
            #5

            Thanks everyone

            1 Reply Last reply
            0

            5/5

            28 Apr 2023, 11:56

            • Login

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