gpt4 book ai didi

ftp - 如何使用 telnet 列出 FTP 目录?

转载 作者:行者123 更新时间:2023-12-05 07:34:05 32 4
gpt4 key购买 nike

<分区>

我安装了 FileZilla ftp server在本地网络中的本地服务器之一上。我可以使用 ftp 命令成功列出用户 user 的文件夹(实际上我通过 Microsoft store 在 Windows 10 中安装了 Ubuntu)。

ftp -p 192.168.11.24 21
Connected to 192.168.11.24.
220-FileZilla Server 0.9.60 beta
220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit https://filezilla-project.org/
Name (192.168.11.24:ms): user
331 Password required for user
Password:
230 Logged on
Remote system type is UNIX.
ftp> nlist /
227 Entering Passive Mode (192,168,11,24,203,217)
150 Opening data channel for directory listing of "/"
/crm-offers-browse-2018-03-08.xlsx
/log_file.txt
/model.png
226 Successfully transferred "/"

如果我对 telnet 进行同样的尝试(我使用 Wireshark 嗅探命令)命令 nlist 不起作用。它返回 425 无法打开数据连接。我在这里缺少什么?

enter image description here

telnet -e _ 192.168.11.24 21
Telnet escape character is '_'.
Trying 192.168.11.24...
Connected to 192.168.11.24.
Escape character is '_'.
220-FileZilla Server 0.9.60 beta
220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit https://filezilla-project.org/
USER user
331 Password required for user
PASS user
230 Logged on
SYST
215 UNIX emulated by FileZilla
PASV
227 Entering Passive Mode (192,168,11,24,205,245)
NLST /
425 Can't open data connection for transfer of "/"

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com