Filezilla 不会跟踪符号链接

Filezilla 不会跟踪符号链接

我在让 FileZilla 显示符号链接目标文件夹的内容时遇到了一些困难。

Filezilla 文件夹列表

在屏幕截图中commonfilesdb_uploads是显示具有权限的符号链接文件夹777,但是当我单击任一时出现此错误:

Filezilla 错误

我在 FileZilla 中找不到任何看起来可以改变这种行为的设置。

FZ 版本3.33.0, Win10 64-bit

服务器Apache/2.4.33 (cPanel) OpenSSL/1.0.2o mod_bwlimited/1.4

尝试获取符号链接文件夹目录的日志:

09:09:59    Trace:  CControlSocket::SendNextCommand()
09:09:59    Trace:  CFtpLogonOpData::Send() in state 0
09:09:59    Status: Resolving address of *************************
09:09:59    Status: Connecting to ***********:21...
09:09:59    Status: Connection established, waiting for welcome message...
09:09:59    Trace:  CFtpControlSocket::OnReceive()
09:09:59    Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
09:09:59    Response:   220-You are user number 1 of 55 allowed.
09:09:59    Response:   220-Local time is now 14:09. Server port: 21.
09:09:59    Response:   220-This is a private system - No anonymous login
09:09:59    Response:   220-IPv6 connections are also welcome on this server.
09:09:59    Response:   220 You will be disconnected after 15 minutes of inactivity.
09:09:59    Trace:  CFtpLogonOpData::ParseResponse() in state 1
09:09:59    Trace:  CControlSocket::SendNextCommand()
09:09:59    Trace:  CFtpLogonOpData::Send() in state 2
09:09:59    Command:    AUTH TLS
09:09:59    Trace:  CFtpControlSocket::OnReceive()
09:09:59    Response:   234 AUTH TLS OK.
09:09:59    Trace:  CFtpLogonOpData::ParseResponse() in state 2
09:09:59    Status: Initializing TLS...
09:09:59    Trace:  CTlsSocketImpl::Handshake()
09:09:59    Trace:  CTlsSocketImpl::ContinueHandshake()
09:09:59    Trace:  TLS handshake: About to send CLIENT HELLO
09:09:59    Trace:  TLS handshake: Sent CLIENT HELLO
09:09:59    Trace:  CTlsSocketImpl::OnSend()
09:09:59    Trace:  CTlsSocketImpl::OnRead()
09:09:59    Trace:  CTlsSocketImpl::ContinueHandshake()
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CTlsSocketImpl::ContinueHandshake()
09:10:00    Trace:  TLS handshake: Received SERVER HELLO
09:10:00    Trace:  TLS handshake: Processed SERVER HELLO
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CTlsSocketImpl::ContinueHandshake()
09:10:00    Trace:  TLS handshake: Received CERTIFICATE
09:10:00    Trace:  TLS handshake: Processed CERTIFICATE
09:10:00    Trace:  TLS handshake: Received SERVER KEY EXCHANGE
09:10:00    Trace:  TLS handshake: Processed SERVER KEY EXCHANGE
09:10:00    Trace:  TLS handshake: Received SERVER HELLO DONE
09:10:00    Trace:  TLS handshake: Processed SERVER HELLO DONE
09:10:00    Trace:  TLS handshake: About to send CLIENT KEY EXCHANGE
09:10:00    Trace:  TLS handshake: Sent CLIENT KEY EXCHANGE
09:10:00    Trace:  TLS handshake: About to send FINISHED
09:10:00    Trace:  TLS handshake: Sent FINISHED
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CTlsSocketImpl::ContinueHandshake()
09:10:00    Trace:  TLS handshake: Received NEW SESSION TICKET
09:10:00    Trace:  TLS handshake: Processed NEW SESSION TICKET
09:10:00    Trace:  TLS handshake: Received FINISHED
09:10:00    Trace:  TLS handshake: Processed FINISHED
09:10:00    Trace:  TLS Handshake successful
09:10:00    Trace:  Protocol: TLS1.2, Key exchange: ECDHE-RSA, Cipher: AES-256-GCM, MAC: AEAD
09:10:00    Trace:  Hostname does not match certificate SANs
09:10:00    Status: Verifying certificate...
09:10:00    Status: TLS connection established.
09:10:00    Trace:  CControlSocket::SendNextCommand()
09:10:00    Trace:  CFtpLogonOpData::Send() in state 5
09:10:00    Command:    USER ********
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CFtpControlSocket::OnReceive()
09:10:00    Response:   331 User ******** OK. Password required
09:10:00    Trace:  CFtpLogonOpData::ParseResponse() in state 5
09:10:00    Trace:  CControlSocket::SendNextCommand()
09:10:00    Trace:  CFtpLogonOpData::Send() in state 5
09:10:00    Command:    PASS ************
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CFtpControlSocket::OnReceive()
09:10:00    Response:   230 OK. Current restricted directory is /
09:10:00    Trace:  CFtpLogonOpData::ParseResponse() in state 5
09:10:00    Trace:  CControlSocket::SendNextCommand()
09:10:00    Trace:  CFtpLogonOpData::Send() in state 9
09:10:00    Command:    OPTS UTF8 ON
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CFtpControlSocket::OnReceive()
09:10:00    Response:   200 OK, UTF-8 enabled
09:10:00    Trace:  CFtpLogonOpData::ParseResponse() in state 9
09:10:00    Trace:  CControlSocket::SendNextCommand()
09:10:00    Trace:  CFtpLogonOpData::Send() in state 10
09:10:00    Command:    PBSZ 0
09:10:00    Trace:  CTlsSocketImpl::OnRead()
09:10:00    Trace:  CFtpControlSocket::OnReceive()
09:10:00    Response:   200 PBSZ=0
09:10:00    Trace:  CFtpLogonOpData::ParseResponse() in state 10
09:10:00    Trace:  CControlSocket::SendNextCommand()
09:10:00    Trace:  CFtpLogonOpData::Send() in state 11
09:10:00    Command:    PROT P
09:10:01    Trace:  CTlsSocketImpl::OnRead()
09:10:01    Trace:  CFtpControlSocket::OnReceive()
09:10:01    Response:   200 Data protection level set to "private"
09:10:01    Trace:  CFtpLogonOpData::ParseResponse() in state 11
09:10:01    Status: Logged in
09:10:01    Trace:  Measured latency of 177 ms
09:10:01    Trace:  CFtpControlSocket::ResetOperation(0)
09:10:01    Trace:  CControlSocket::ResetOperation(0)
09:10:01    Trace:  CFileZillaEnginePrivate::ResetOperation(0)
09:10:01    Trace:  CFileZillaEnginePrivate::ResetOperation(0)
09:10:19    Status: Retrieving directory listing of "/public_html/db_uploads"...
09:10:19    Trace:  CControlSocket::SendNextCommand()
09:10:19    Trace:  CFtpListOpData::ListSend() in state 0
09:10:19    Trace:  CFtpChangeDirOpData::Send() in state 0
09:10:19    Trace:  CFtpChangeDirOpData::Send() in state 2
09:10:19    Command:    CWD /public_html/db_uploads
09:10:19    Trace:  CTlsSocketImpl::OnRead()
09:10:19    Trace:  CFtpControlSocket::OnReceive()
09:10:19    Response:   550 Can't change directory to /public_html/db_uploads: No such file or directory
09:10:19    Trace:  CFtpChangeDirOpData::ParseResponse() in state 2
09:10:19    Trace:  CFtpControlSocket::ResetOperation(2)
09:10:19    Trace:  CControlSocket::ResetOperation(2)
09:10:19    Trace:  CControlSocket::ParseSubcommandResult(2)
09:10:19    Trace:  CFtpListOpData::SubcommandResult() in state 1
09:10:19    Trace:  CFtpControlSocket::ResetOperation(2)
09:10:19    Trace:  CControlSocket::ResetOperation(2)
09:10:19    Error:  Failed to retrieve directory listing
09:10:19    Trace:  CFileZillaEnginePrivate::ResetOperation(2)

答案1

这不是 FileZilla 的问题。550 错误代码可能表示您的用户无权访问该目录,然后 FTP 服务器阻止了对该目录的访问。请检查服务器中的目录权限。

答案2

他们会改变这种行为。

FZ版本3.33.0,Win10 64位

服务器 Apache/2.4.33 (cPanel) OpenSSL/1.0.2o mod_bwlimited/1.4

尝试获取符号链接文件夹目录的日志:

09:09:59 跟踪:CControlSocket::SendNextCommand() 09:09:59 跟踪:CFtpLogonOpData::Send() 处于状态 0 09:09:59 状态:正在解析 ************************* 的地址 09:09:59 状态:连接到 ************:21... 09:09:59 状态:已建立连接,正在等待欢迎消息... 09:09:59 跟踪:CFtpControlSocket::OnReceive() 09:09:59 响应:220---------- 欢迎使用 Pure-FTPd [privsep] [TLS] ---------- 09:09:59 响应:220-您是允许的 55 个用户中的第 1 个。 09:09:59 响应:220-当地时间现在是 14:09。服务器端口:21。09:09:59 响应:220-这是私人系统 - 不允许匿名登录 09:09:59 响应:220-此服务器也欢迎 IPv6 连接。09:09:59 响应:220 15 分钟不活动后您将断开连接。09:09:59 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 1 09:09:59 跟踪:CControlSocket::SendNextCommand() 09:09:59 跟踪:CFtpLogonOpData::Send() 处于状态 2 09:09:59 命令:AUTH TLS 09:09:59 跟踪:CFtpControlSocket::OnReceive() 09:09:59 响应:234 AUTH TLS OK。 09:09:59 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 2 09:09:59 状态:正在初始化 TLS... 09:09:59 跟踪:CTlsSocketImpl::Handshake() 09:09:59 跟踪:CTlsSocketImpl::ContinueHandshake() 09:09:59 跟踪:TLS 握手:即将发送 CLIENT HELLO 09:09:59 跟踪:TLS 握手:已发送 CLIENT HELLO 09:09:59 跟踪:CTlsSocketImpl::OnSend() 09:09:59 跟踪:CTlsSocketImpl::OnRead() 09:09:59 跟踪:CTlsSocketImpl::ContinueHandshake() 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪: CTlsSocketImpl::ContinueHandshake() 09:10:00 跟踪:TLS 握手:已接收服务器 HELLO 09:10:00 跟踪:TLS 握手:已处理服务器 HELLO 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪:CTlsSocketImpl::ContinueHandshake() 09:10:00 跟踪:TLS 握手:已接收证书 09:10:00 跟踪:TLS 握手:已处理证书 09:10:00 跟踪:TLS 握手:已接收服务器密钥交换 09:10:00 跟踪:TLS 握手:已处理服务器密钥交换 09:10:00 跟踪:TLS 握手:已接收服务器 HELLO DONE 09:10:00 跟踪:TLS 握手:已处理 服务器问候 完成 09:10:00 跟踪:TLS 握手:即将发送 客户端密钥交换 09:10:00 跟踪:TLS 握手:已发送 客户端密钥交换 09:10:00 跟踪:TLS 握手:即将发送 完成 09:10:00 跟踪:TLS 握手:已发送 完成 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪:CTlsSocketImpl::ContinueHandshake() 09:10:00 跟踪:TLS 握手:已收到新会话票证 09:10:00 跟踪:TLS 握手:已处理新会话票证 09:10:00 跟踪:TLS 握手:已收到完成 09:10:00 跟踪:TLS 握手:已处理 完成 09:10:00 跟踪:TLS 握手成功 09:10:00 跟踪:协议:TLS1.2,密钥交换:ECDHE-RSA,密码:AES-256-GCM,MAC:AEAD 09:10:00 跟踪:主机名与证书 SAN 不匹配 09:10:00 状态:正在验证证书... 09:10:00 状态:已建立 TLS 连接。 09:10:00 跟踪:CControlSocket::SendNextCommand() 09:10:00 跟踪:CFtpLogonOpData::Send() 处于状态 5 09:10:00 命令:USER ******** 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪:CFtpControlSocket::OnReceive() 09:10:00 响应:331 用户 ******** 确定。需要密码 09:10:00 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 5 09:10:00 跟踪:CControlSocket::SendNextCommand() 09:10:00 跟踪:CFtpLogonOpData::Send() 处于状态 5 09:10:00 命令:PASS ************ 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪:CFtpControlSocket::OnReceive() 09:10:00 响应:230 OK。当前受限目录为 / 09:10:00 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 5 09:10:00 跟踪:CControlSocket::SendNextCommand() 09:10:00 跟踪:CFtpLogonOpData::Send() 处于状态 9 09:10:00 命令:OPTS UTF8 ON 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪:CFtpControlSocket::OnReceive() 09:10:00 响应:200 OK,已启用 UTF-8 09:10:00 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 9 09:10:00 跟踪:CControlSocket::SendNextCommand() 09:10:00 跟踪:CFtpLogonOpData::Send() 处于状态 10 09:10:00 命令:PBSZ 0 09:10:00 跟踪:CTlsSocketImpl::OnRead() 09:10:00 跟踪:CFtpControlSocket::OnReceive() 09:10:00 响应:200 PBSZ=0 09:10:00 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 10 09:10:00 跟踪:CControlSocket::SendNextCommand() 09:10:00 跟踪:CFtpLogonOpData::Send() 处于状态 11 09:10:00 命令:PROT P 09:10:01 跟踪:CTlsSocketImpl::OnRead() 09:10:01 跟踪:CFtpControlSocket::OnReceive() 09:10:01 响应:200 数据保护级别设置为“私有” 09:10:01 跟踪:CFtpLogonOpData::ParseResponse() 处于状态 11 09:10:01 状态:已登录 09:10:01 跟踪:测量到的延迟为 177 毫秒 09:10:01 跟踪:CFtpControlSocket::ResetOperation(0) 09:10:01 跟踪:CControlSocket::ResetOperation(0) 09:10:01 跟踪:CFileZillaEnginePrivate::ResetOperation(0) 09:10:01 跟踪:CFileZillaEnginePrivate::ResetOperation(0) 09:10:19 状态:正在检索“/public_html/db_uploads”的目录列表... 09:10:19 跟踪:CControlSocket::SendNextCommand() 09:10:19 跟踪:CFtpListOpData::ListSend()处于状态 0 09:10:19 跟踪:CFtpChangeDirOpData::Send() 处于状态 0 09:10:19 跟踪:CFtpChangeDirOpData::Send() 处于状态 2 09:10:19 命令:CWD /public_html/db_uploads 09:10:19 跟踪:CTlsSocketImpl::OnRead() 09:10:19 跟踪:CFtpControlSocket::OnReceive() 09:10:19 响应:550 无法将目录更改为 /public_html/db_uploads:没有此文件或目录 09:10:19 跟踪:CFtpChangeDirOpData::ParseResponse() 处于状态 2 09:10:19 跟踪:CFtpControlSocket::ResetOperation(2) 09:10:19 跟踪:CControlSocket::ResetOperation(2) 09:10:19 跟踪:CControlSocket::ParseSubcommandResult(2) 09:10:19 跟踪:CFtpListOpData::SubcommandResult() 处于状态 1 09:10:19 跟踪:CFtpControlSocket::ResetOperation(2) 09:10:19 跟踪:CControlSocket::ResetOperation(2) 09:10:19 错误:无法检索目录列表 09:10:19 跟踪:CFileZillaEnginePrivate::ResetOperation(2)

相关内容