比方说如下为ftp messages, 我想去掉150 -- 226 之间的所有行,该怎么做。现在所有信息在message中。
250 Directory successfully changed.
227 Entering Passive Mode (172,26,32,205,59,206)
150 Here comes the directory listing.
-rw-r--r-- 1 510 511 118691 Jan 23 23:12 abc.txt
..........
226 Directory send OK.
221 Goodbye.
250 Directory successfully changed.
227 Entering Passive Mode (172,26,32,205,59,206)
150 Here comes the directory listing.
-rw-r--r-- 1 510 511 118691 Jan 23 23:12 abc.txt
..........
226 Directory send OK.
221 Goodbye.
1 个回复
Dm
赞同来自: