The FTP protocol is defined in RFC959, which you can find under
/usr/share/doc/RFC/standard/rfc959.txt.gz if you have the
doc-rfc-std Debian package installed.

It will also be available at a friendly mirror site near you; most
archive sites carry the RFC files.
