TFTP with QT(Server Receiver File)
-
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 -
@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 -
@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.
-
@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 :)
-
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.