Figure 1 shows a TFTP packet header.
Operation Code |
Command |
Description |
---|---|---|
1 |
Read Request |
Request to read a file |
2 |
Write Request |
Request to write to a file |
3 |
File Data |
Transfer of file data |
4 |
Data Acknowledge |
Acknowledgement of file data |
5 |
Error |
Error message |
ERROR MESSAGE: The server cannot read or write a request. The code "0" indicates a stop flag.
Error Code |
Description |
---|---|
0 |
Not defined |
1 |
File not found |
2 |
Access violation |
3 |
Disk full |
4 |
Illegal TFTP operation |
5 |
Unknown port |
6 |
File already exists |
7 |
No such user exists |