Maxim wrote:
Hi,
May be my question was not exact. I don't want to implement RFC for
tftp. I just searched some package/library with API that allows me to
use tftp easy (something like tftpGet/tftpSet,...).

Thanks, Max

If you just want a library to do the work of tftp for you, google for tftp library. There appear to be several written in java. Or just dissect the source of one of the available tftp implementations for linux to make your own library (it really is pretty straightforward). For that matter, write your own library that just calls fork and exec on tftp with the appropriate options for any particular library operation you wish to implement.

HTH
Neil
-----Original Message-----
From: Neil Horman [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 9:10 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: tftp question



Maxim wrote:

Hi!
I'm writing my first Linux program that should connect via tftp connection to server and get some file. I'm trying to find documentation on tftp API that I can use. I need it as simple as possible. Could anybody to help me with it? Does anybody has example

of


such code?


Thanks for help, MaxUs -------------------------------- KTec Systems Development Ltd. [EMAIL PROTECTED] ICQ: 148-959-673


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Well, TFTP is defined completely in RFC 783 (http://www.faqs.org/rfcs/rfc783.html). That should get you started. If


you need references, just about any linux distro has a tftp client that will provide examples for you.

HTH
Neil





--
/***************************************************
 *Neil Horman
 *Software Engineer
 *Red Hat, Inc.
 [EMAIL PROTECTED]
 *gpg keyid: 1024D / 0x92A74FA1
 *http://pgp.mit.edu
 ***************************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to