Discussion:
tftp C++ library
(too old to reply)
alexia
2008-11-26 16:03:04 UTC
Permalink
Hi all,

I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.


Can any one please suggest me of such one?


Thanks.
arahne
2008-11-26 18:47:48 UTC
Permalink
Post by alexia
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
Try ftplib by Thomas Pfau:
http://nbpfaus.net/~pfau/ftplib/
it is C based, shared library, you can also use it from C++.

Dušan Peterc
Tauno Voipio
2008-11-26 20:57:05 UTC
Permalink
Post by arahne
Post by alexia
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
http://nbpfaus.net/~pfau/ftplib/
it is C based, shared library, you can also use it from C++.
Dušan Peterc
Did you notice that TFTP is not FTP?

TFTP is not too difficult to code, be it a client or a server.
--
Tauno Voipio
tauno voipio (at) iki fi
alexia
2008-11-27 06:26:22 UTC
Permalink
Post by Tauno Voipio
Post by arahne
Post by alexia
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
http://nbpfaus.net/~pfau/ftplib/
it is C based, shared library, you can also use it from C++.
Dušan Peterc
Did you notice that TFTP is not FTP?
TFTP is not too difficult to code, be it a client or a server.
--
Tauno Voipio
tauno voipio (at) iki fi
Thanks,

I was hoping to avoid coding tftp client and get an open source one
since I am already behind schedule.
Jasen Betts
2008-11-27 09:35:44 UTC
Permalink
Post by alexia
I was hoping to avoid coding tftp client and get an open source one
since I am already behind schedule.
use system() to run a command-line TFTP client.
alexia
2008-11-27 10:28:24 UTC
Permalink
Post by Jasen Betts
Post by alexia
I was hoping to avoid coding tftp client and get an open source one
since I am already behind schedule.
use system() to run a command-line TFTP client.
Can I get return value in case of failure?
Jasen Betts
2008-11-27 11:30:37 UTC
Permalink
Post by alexia
Post by Jasen Betts
Post by alexia
I was hoping to avoid coding tftp client and get an open source one
since I am already behind schedule.
use system() to run a command-line TFTP client.
Can I get return value in case of failure?
depends on the client. for tftp(1) you'd have to mess with pipes or
redirection to pass commands and responses, curl may be better suited.
i***@gmail.com
2016-06-07 13:13:28 UTC
Permalink
Post by arahne
Post by alexia
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
http://nbpfaus.net/~pfau/ftplib/
it is C based, shared library, you can also use it from C++.
Dušan Peterc
HI I am into the project and I need to make the TFTP client and I am new to the Socket Programming can someone please help me with the source code of the same.
Tauno Voipio
2016-06-07 13:53:30 UTC
Permalink
Post by i***@gmail.com
Post by arahne
Post by alexia
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
http://nbpfaus.net/~pfau/ftplib/
it is C based, shared library, you can also use it from C++.
Dušan Peterc
HI I am into the project and I need to make the TFTP client and I am new to the Socket Programming can someone please help me with the source code of the same.
Time to turn in homeworks at Justus-Liebig University?

You can start by getting the TFTP RFC from
<https://www.ietf.org/rfc/rfc1350.txt>.

For socket programming, my favourite is UNIX Network Programming, by W.
Richard Stevens.
--
-TV
Charlie Gibbs
2016-06-07 16:49:36 UTC
Permalink
Post by Tauno Voipio
Post by i***@gmail.com
Post by arahne
Post by alexia
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
http://nbpfaus.net/~pfau/ftplib/
it is C based, shared library, you can also use it from C++.
HI I am into the project and I need to make the TFTP client and
I am new to the Socket Programming can someone please help me
with the source code of the same.
Time to turn in homeworks at Justus-Liebig University?
You can start by getting the TFTP RFC from
<https://www.ietf.org/rfc/rfc1350.txt>.
For socket programming, my favourite is UNIX Network Programming, by W.
Richard Stevens.
Yes, Stevens is the bible of network programming, but a bit intimidating
to newcomers. An excellent introduction to socket programming is
"Beej's Guide to Network Programming".

http://beej.us/guide/bgnet
--
/~\ ***@kltpzyxm.invalid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!
Jasen Betts
2008-11-27 09:32:23 UTC
Permalink
Post by alexia
Hi all,
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
Can any one please suggest me of such one?
how about libcurl (does a bunch of other stuff too)

why do you want a library?
Post by alexia
Thanks.
alexia
2008-12-01 06:11:37 UTC
Permalink
Post by Jasen Betts
Post by alexia
Hi all,
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
Can any one please suggest me of such one?
how about libcurl (does a bunch of other stuff too)
why do you want a library?
Post by alexia
Thanks.- Hide quoted text -
- Show quoted text -
Hi,

I saw this reply just now. Open source tftp can be fine to.
Jasen Betts
2008-12-01 08:47:54 UTC
Permalink
Post by alexia
Post by Jasen Betts
Post by alexia
Hi all,
I was looking for a tftp C++ library to be used with an application I
am writing. I searched sourceforge and the internet and didn't find
any.
It must not have GUI.
why do you want a library?
I saw this reply just now. Open source tftp can be fine to.
ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-tftp-0.17.tar.gz

BSD licence IIRC.
Continue reading on narkive:
Loading...