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.1k 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 last edited by Alux
    #1

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

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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 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

        mrjjM 1 Reply Last reply
        0
        • A Alux

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

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on 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 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 :((

            mrjjM 1 Reply Last reply
            0
            • A Alux

              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 :((

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on 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 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 :) :)

                mrjjM 1 Reply Last reply
                0
                • A Alux

                  @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 :) :)

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 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
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 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 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

                      • Login

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