ftp ls 輸出 保存到文件

使用mls命令可以將ftp的ls輸出保存下來


ftp> mls ./ /root/ls.txt
output to local-file: /root/ls.txt?
227 Entering Passive Mode (178,79,144,174,179,86)
150 Here comes the directory listing.
226 Directory send OK.


也可以這樣使用:
ftp> mls
(remote-files) ./
(local-file) /root/123123123
output to local-file: /root/123123123?
227 Entering Passive Mode (178,79,144,174,165,98)
150 Here comes the directory listing.
226 Directory send OK.
ftp>

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章