問題
TFTPのエラー番号と意味の対応が正しいものを2つ選べ。
- A
Error Code 1:File not found
- B
Error Code 2:Unknown error
- C
Error Code 3:Invalid user
- D
Error Code 6:File already exists
- E
Error Code 8:Undefined error
正解:A、D
理由
1はファイル未検出、6はファイルがすでに存在する場合のエラーである。
選択肢ごとの説明
- A.
Error Code 1:File not found
指定したファイルが見つからないことを表す。
- B.
Error Code 2:Unknown error
2はAccess violationである。未定義のエラーは0を使う。
- C.
Error Code 3:Invalid user
3はDisk full or allocation exceededであり、ディスク容量や割当超過を表す。
- D.
Error Code 6:File already exists
同名のファイルがすでに存在することを表す。
- E.
Error Code 8:Undefined error
未定義は0であり、8ではない。