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

-----Original Message-----
From: Jan-Benedict Glaw [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 21, 2005 9:34 PM
To: Maxim
Cc: [EMAIL PROTECTED]
Subject: Re: tftp question


On Mon, 2005-02-21 20:48:54 +0200, Maxim <[EMAIL PROTECTED]> wrote in
message <[EMAIL PROTECTED]>:
> 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? 

First of all, remember that TFTP is a connection-less protocol. Also,
there isn't much of an "API". There's a formal description of the TFTP
protocol (http://www.ietf.org/rfc/rfc1350.txt,
http://www.ietf.org/rfc/rfc2090.txt,
http://www.ietf.org/rfc/rfc2347.txt,
http://www.ietf.org/rfc/rfc2348.txt and
http://www.ietf.org/rfc/rfc2349.txt). Also, there are at least three
working implementation available for Linux:

- ftp://ftp.mamalinux.com/pub/atftp/
- ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/ and
  ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/
- http://www.kernel.org/pub/software/network/tftp/

MfG, JBG

-- 
Jan-Benedict Glaw       [EMAIL PROTECTED]    . +49-172-7608481
_ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen
Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!
O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM |
TCPA));


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

Reply via email to