Interpret As Command(IAC) | Command Code | Options |
Command | Description |
---|---|
ABOR | Abort previous command |
HELP | Retrieve information |
USER | User ID |
First Digit | Description |
---|---|
1 | Action initiated |
2 | Action completed |
3 | Command accepted but on hold due to lack of info |
4 | Command not accepted or completed (can reissue command) |
5 | Command not accepted or completed (reissuing command will give same error) |
Second Digit | Description |
---|---|
0 | syntax error or illigal command |
1 | reply to request for info |
2 | reply toat refers to connection management |
3 | reply for authenitication command |
4 | not used |
5 | reply for status of server |
FTP command | Description |
---|---|
ascii | Switch to ASCII mode |
cd | change directory on server |
close | terminate connection |
get | fetch file from server |
open | connect to server |
bye | logout |
TFTP command | Description |
---|---|
binary | USes binary mode for transfers |
connect | Determines the remote's address |
get | retrieves a file from the remote |
put | transfers a file to the remote |
trace | displays protocol codes |
verbose | displays all info |
Code | OpCode | Description |
---|---|---|
RRQ | 1 | Read request |
WRQ | 2 | Write request |
DATA | 3 | Send data |
ACK | 4 | Acknowledgment |
Error | 5 | Error |
because there is no connection between client/server, client sets a timer and waits for ACK