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. How to send files from server to client
Forum Updated to NodeBB v4.3 + New Features

How to send files from server to client

Scheduled Pinned Locked Moved General and Desktop
13 Posts 4 Posters 8.5k 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.
  • M Offline
    M Offline
    maxim.prishchepa
    wrote on last edited by
    #3

    tnx, i read this examples, but as I know this example show how connect to server! And I need server and client (both apps)

    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #4

      That's right.
      The QFtp class provides an implementation of the client side of FTP protocol.

      You must implement ftp server by yourself using *Server or Sockets classes, for example "QTcpServer":http://developer.qt.nokia.com/doc/qt-4.8/qtcpserver.html#details... I haven't see any Qt examples for Ftp server, sorry...

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AcerExtensa
        wrote on last edited by
        #5

        FTP protocol description you can find "here(rfc959)":http://tools.ietf.org/html/rfc959

        God is Real unless explicitly declared as Integer.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maxim.prishchepa
          wrote on last edited by
          #6

          tnx for your help! but i don't have a much time to do that by myself, that's why i write at this forum, with hope find already wrote simple apps of the server.

          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lgeyer
            wrote on last edited by
            #7

            Are you strictly bound to FTP? I would drop it without hesitation for an own implementation using QTcpServer / QTcpSocket or a HTTP-based solution (there are plenty of Qt-based HTTP-servers available).

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AcerExtensa
              wrote on last edited by
              #8

              Ok, with simple google search i've found "this":http://www.voidrealms.com/source.aspx site with intresting examples, source and "videos":https://www.youtube.com/user/VoidRealms...

              God is Real unless explicitly declared as Integer.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                maxim.prishchepa
                wrote on last edited by
                #9

                FTP - is not axiom :) I think about HTTP, but I'm afraid so create http server be more difficult then ftp.
                [quote author="Lukas Geyer" date="1327485999"]Are you strictly bound to FTP? I would drop it without hesitation for an own implementation using QTcpServer / QTcpSocket or a HTTP-based solution (there are plenty of Qt-based HTTP-servers available).[/quote]

                Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lgeyer
                  wrote on last edited by
                  #10

                  Why not just take an "existing":https://github.com/nikhilm/qhttpserver one?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    maxim.prishchepa
                    wrote on last edited by
                    #11

                    tnx, look at this server!
                    And I find "FTP":http://qt-apps.org/content/show.php/qShare?content=116612 server :)

                    Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      lgeyer
                      wrote on last edited by
                      #12

                      Be aware that qShare is licensed under the GPL - so you might run into licensing issues.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        s.frings
                        wrote on last edited by
                        #13

                        The QtWebApp contains a very simple HTTP server which might be what you are searching for:
                        http://stefanfrings.de/qtwebapp/index-en.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