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. TFTP with QT(Server Receiver File)
Forum Updated to NodeBB v4.3 + New Features

TFTP with QT(Server Receiver File)

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 2 Posters 7.2k 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.
  • A Offline
    A Offline
    Alux
    wrote on 26 Dec 2015, 10:57 last edited by Alux
    #1

    Hi everybody. can anyone help me for develop the TFTP server in Qt ?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 26 Dec 2015, 11:53 last edited by
      #2

      Hi
      You could look at
      this person talks about it here
      https://www.youtube.com/watch?v=FrJAfpUgC5E
      with source here
      http://voidrealms.com/index.php?r=source/view&id=6

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Alux
        wrote on 26 Dec 2015, 12:05 last edited by
        #3

        Thank you my dear. but i m looking for Tftp implementation , not Ftp. can u help about that ? thank you again

        M 1 Reply Last reply 26 Dec 2015, 12:10
        0
        • A Alux
          26 Dec 2015, 12:05

          Thank you my dear. but i m looking for Tftp implementation , not Ftp. can u help about that ? thank you again

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 26 Dec 2015, 12:10 last edited by
          #4

          @Alux
          Sorry, nope , the one here
          https://code.google.com/archive/p/qttftp/
          was lost in space.

          There is this one
          https://www.flameeyes.eu/oldstuff
          but i never tried it

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Alux
            wrote on 26 Dec 2015, 12:16 last edited by
            #5

            yeah , i saw that. but Unfortunately i cant work with it. i just want to run a example on it. but i cant understand it how to run :((

            M 1 Reply Last reply 26 Dec 2015, 12:21
            0
            • A Alux
              26 Dec 2015, 12:16

              yeah , i saw that. but Unfortunately i cant work with it. i just want to run a example on it. but i cant understand it how to run :((

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 26 Dec 2015, 12:21 last edited by
              #6

              @Alux
              Well its a library so there is nothing to run as such
              (no GUI)

              You would build the library (with make) and
              then use the resulting .a file in your own project.

              Its very linux orientated so to use on Windows might
              require some work.

              Also, you must read c++ very well as it seems to have no so much Docs.

              1 Reply Last reply
              1
              • A Offline
                A Offline
                Alux
                wrote on 26 Dec 2015, 12:24 last edited by
                #7

                @mrjj
                thank you for reply , i know it has no gui. but im not very well in qt.
                i want to work with it in Linux , so can u help me about that and told me step by step to use this library for example. thank you and sorry for my ask :) :)

                M 1 Reply Last reply 26 Dec 2015, 12:35
                0
                • A Alux
                  26 Dec 2015, 12:24

                  @mrjj
                  thank you for reply , i know it has no gui. but im not very well in qt.
                  i want to work with it in Linux , so can u help me about that and told me step by step to use this library for example. thank you and sorry for my ask :) :)

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 26 Dec 2015, 12:35 last edited by
                  #8

                  @Alux
                  Hi
                  Overall it would be like:
                  1: download
                  2: unpack to folder. lets call this libtftp
                  3: cd libtftp
                  4: make
                  this should build libtftp.a or libtftp.SO
                  5: make new default GUI project in Creator
                  6: dbclick the .pro file ( the project file)
                  7: right click in middle of the pro file view
                  8: choose Add library
                  9: in dialog that opens, choose external lib -> next
                  10: check its linux platform. Check its "static "
                  11: browse to .a file ( in libtftp folder)
                  12: browse to the .h file ( in libtftp folder)
                  now you are ready to use the lib.

                  never used it so no idea how to start the server, but i bet a cookie it
                  involves newing a Server object.

                  sorry I cant be more specific as I have no linux here :)

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 26 Dec 2015, 12:39 last edited by mrjj
                    #9

                    Hi
                    I looked at the code.
                    its Qt3 so u will have issues with Qt5
                    It uses qsocketdevice and one must understand code ok well to replace it
                    so maybe it too much work to get to work ?

                    Also, instead of building a lib, you can just include the server.cpp and .h and some other files directly in your project. that will work too.
                    To see how hard it is to get to compile with Qt5.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      Alux
                      wrote on 26 Dec 2015, 13:43 last edited by
                      #10

                      there is some error to ./configure and make ....

                      so maybe its better to use server.cpp and .h

                      thank u my friend , u are the best :)

                      1 Reply Last reply
                      0

                      10/10

                      26 Dec 2015, 13:43

                      • Login

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