CDIR、KILL、NAME、DONE コマンド
CDIR
CDIR new-directory
リモートホストのカレント作業ディレクトリを、渡された引数のディレクトリに変更します。
応答は次のとおりです。
!Changed working dir to <new-directory>
-Can't connect to directory because: (reason)
+directory ok, send account/password
サーバが「+」で応答した場合は、続けて ACCT または PASS コマンドを送信してください。サーバは「-」または「!」の応答を返すまで、ACCT または PASS コマンドを待ちます。
ACCT への応答は次のようになります。
!Changed working dir to <new-directory>
+account ok, send password
-invalid account
PASS への応答は次のようになります。
!Changed working dir to <new-directory>
+password ok, send account
-invalid password
KILL
KILL file-spec
リモートシステムからファイルを削除します。
応答は次のとおりです。
+<file-spec> deleted
-Not deleted because (reason)
NAME
NAME old-file-spec
リモートシステム上で old-file-spec の名前を new-file-spec に変更します。
応答:
+File exists
-Can't find <old-file-spec>
NAME コマンドは中止されます。TOBE を送信してはいけません。
「+」を受け取った場合は、続けて次を送信します。
TOBE new-file-spec
サーバは次のように応答します。
+<old-file-spec> renamed to <new-file-spec>
-File wasn't renamed because (reason)
DONE
DONE
リモートシステムに、終了したことを伝えます。
リモートシステムは次のように応答します。
+(the message may be charge/accounting info)
その後、両システムが接続を閉じます。