4.1.2. TRANSFER PARAMETER COMMANDS - FILE TRANSFER PROTOCOL (FTP)
コマンド | 概要(説明の先頭文のみ) |
---|---|
DATA PORT (PORT) | The argument is a HOST-PORT specification for the data port to be used in data connection. |
PASSIVE (PASV) | This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command. |
REPRESENTATION TYPE (TYPE) | The argument specifies the representation type as described in the Section on Data Representation and Storage. |
FILE STRUCTURE (STRU) | The argument is a single Telnet character code specifying file structure described in the Section on Data Representation and Storage. |
TRANSFER MODE (MODE) | The argument is a single Telnet character code specifying the data transfer modes described in the Section on Transmission Modes. |
作り方
疲れたからキーマクロにしてみました。
サクラエディタのマクロに初挑戦です。
//ページヘッダを取り除く S_ReplaceAll('^Postel.*\r\n', '', 30); S_ReplaceAll('^ \r\n', '', 30); S_ReplaceAll('^RFC.*\r\n', '', 30); S_ReplaceAll('^File.*\r\n', '', 30); //用語と説明をタブ区切りの一覧にする。 S_ReplaceAll('^ {9}([^ ].*)\r\n', '#\1\t\r\n', 30); S_ReplaceAll(' {12}(.*)\r\n', '\1 \r\n', 30); S_ReplaceAll('\r\n', '', 30); S_ReplaceAll('#', '\r\n', 30); //説明の先頭文のみを切り出す。 S_ReplaceAll('(\.)[^\r]*', '\1', 30); //用語と説明を表組み記法にする。 S_ReplaceAll('^(.*)\t([^\r]*)', '|\1|\2|', 30);
作成したマクロを読み込んだら、「キーマクロの実行」一発でできあがりです。
楽すぎます・・・。