3B.3 错误与确认终止
错误事务可以在第二个信息字节中给出错误码。所有错误码都允许在后续字节中传送 ASCII 错误消息,但十六进制 '0A' 错误码必须附带 ASCII 文本。这里的错误只涉及文件传输功能。数据同步及数据传输中的相关错误,应在 DTP 层处理。当前定义了下列错误码:
Error Code (2nd descriptor byte) Meaning
Hex Octal
00 000 Error condition indicated by
computer system (external to protocol)
01 001 Name syntax error
02 002 Access control violation
03 003 Abort (by user)
04 004 Allocate size too big
05 005 Allocate size overflow
06 006 Improper order for transactions
07 007 Opcode not implemented
08 010 File search failed
09 011 Incorrect or missing identifier
0A 012 Error described in text message
(ASCII characters follow code)
0B 013 File already exists (in create request)
目前没有为确认定义完成码。假定确认指的是当前正在履行的请求。