[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/lib/libsa
Chris Gilbert wrote:
It's not very efficient, as it has to read the whole file, and count the
block sizes. However, this is the only way to work out the size using the
Not always true; some servers send a 'tsize' option in the OACK which
represents the file size in bytes.
For a reference: http://www.rfc.net/rfc2349.html specifically the
"Transfer Size Option".
You can also have a look at my mtftp server implementation for more
You will want to look at specifically mtftpd.c:mtftpd_send_oack()
Main Index |
Thread Index |