Cyberduck 및 FileZilla에서 FTP 디렉토리 목록이 실패하지만 명령 행에서 작동


1

Mac (OS X 10.10 실행)을 사용하여 FTP 서버 (Windows 7에서 FileZilla 0.9.56b 실행)에 연결하려고합니다. 서버는 인터넷에 직접 연결되어 있으며 FileZilla 서버 설명서에 따라 수동 모드 포트가 Windows 방화벽에서 통과하도록 구성되어 있습니다.

Cyberduck 버전 4.8.3 (19083) 및 FileZilla 3.16.0과 연결을 시도했지만 연결 자체가 작동하지만 디렉토리 목록이 항상 실패합니다.

흥미로운 부분은 명령 행 ftp클라이언트 를 통해 작동한다는 것입니다.

  % ftp user@xxx.xxx.xxx.xxx                                                                                                                             !4861
Connected to xxx.xxx.xxx.xxx.
220-FileZilla Server 0.9.56 beta
220-written by Tim Kosse (tim.kosse@filezilla-project.org)
220 Please visit https://filezilla-project.org/
331 Password required for user
Password:
230 Logged on
Remote system type is UNIX.
ftp> ls
229 Entering Extended Passive Mode (|||50076|)
150 Opening data channel for directory listing of "/"
-rw-r--r-- 1 ftp ftp           6148 Jan 21  2016 .DS_Store
drwxr-xr-x 1 ftp ftp              0 Feb 22 16:52 Data
226 Successfully transferred "/"

FileZilla에서 다음을 얻습니다.

Status:         Disconnected from server
Status:         Connecting to xxx.xxx.xxx.xxx:21...
Status:         Connection established, waiting for welcome message...
Status:         Initializing TLS...
Status:         Verifying certificate...
Status:         TLS connection established.
Status:         Logged in
Status:         Retrieving directory listing...
Command:    PWD
Response:   257 "/" is current directory.
Command:    TYPE I
Response:   200 Type set to I
Command:    PASV
Response:   227 Entering Passive Mode (xxx,xxx,xxx,xxx,195,141)
Command:    MLSD
Response:   425 Can't open data connection for transfer of "/"
Error:          Failed to retrieve directory listing

그리고 "디렉토리 리스팅 실패"라고 표시 될 때까지 잠시 기다립니다. Cyberduck과 비슷합니다.

여기서 무엇이 문제가 될 수 있습니까? 온라인 FTP 테스터는 또한 작업으로 내 서버를보고합니다.

실패한 연결의 서버 로그는 다음과 같습니다.

(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> Connected on port 21, sending welcome message...
(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> 220-FileZilla Server 0.9.56 beta
(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> 220 Please visit https://filezilla-project.org/
(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> AUTH TLS
(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> 234 Using authentication type TLS
(000004)3/11/2016 16:43:42 PM - (not logged in) (141.241.26.7)> SSL connection established
(000004)3/11/2016 16:43:44 PM - (not logged in) (141.241.26.7)> USER user
(000004)3/11/2016 16:43:44 PM - (not logged in) (141.241.26.7)> 331 Password required for user
(000004)3/11/2016 16:43:44 PM - (not logged in) (141.241.26.7)> PASS *********
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 230 Logged on
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> SYST
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 215 UNIX emulated by FileZilla
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> FEAT
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 211-Features:
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  MDTM
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  REST STREAM
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  SIZE
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  MLST type*;size*;modify*;
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  MLSD
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  AUTH SSL
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  AUTH TLS
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  PROT
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  PBSZ
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  UTF8
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  CLNT
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  MFMT
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  EPSV
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)>  EPRT
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 211 End
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> PBSZ 0
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 200 PBSZ=0
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> PROT P
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 200 Protection level set to P
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> PWD
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 257 "/" is current directory.
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> TYPE I
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 200 Type set to I
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> PASV
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> 227 Entering Passive Mode (xxx,xxx,xxx,xxx,199,23)
(000004)3/11/2016 16:43:44 PM - user (141.241.26.7)> MLSD
(000004)3/11/2016 16:43:54 PM - user (141.241.26.7)> 425 Can't open data connection for transfer of "/"

다음은 작동하는 것입니다.

(000005)3/11/2016 16:46:55 PM - (not logged in) (141.241.26.7)> Connected on port 21, sending welcome message...
(000005)3/11/2016 16:46:55 PM - (not logged in) (141.241.26.7)> 220-FileZilla Server 0.9.56 beta
(000005)3/11/2016 16:46:55 PM - (not logged in) (141.241.26.7)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
(000005)3/11/2016 16:46:55 PM - (not logged in) (141.241.26.7)> 220 Please visit https://filezilla-project.org/
(000005)3/11/2016 16:46:55 PM - (not logged in) (141.241.26.7)> USER user
(000005)3/11/2016 16:46:55 PM - (not logged in) (141.241.26.7)> 331 Password required for user
(000005)3/11/2016 16:47:01 PM - (not logged in) (141.241.26.7)> PASS *********
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> 230 Logged on
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> SYST
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> 215 UNIX emulated by FileZilla
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> FEAT
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> 211-Features:
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  MDTM
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  REST STREAM
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  SIZE
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  MLST type*;size*;modify*;
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  MLSD
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  AUTH SSL
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  AUTH TLS
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  PROT
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  PBSZ
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  UTF8
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  CLNT
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  MFMT
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  EPSV
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)>  EPRT
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> 211 End
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> PWD
(000005)3/11/2016 16:47:01 PM - user (141.241.26.7)> 257 "/" is current directory.
(000005)3/11/2016 16:47:02 PM - user (141.241.26.7)> EPSV
(000005)3/11/2016 16:47:02 PM - user (141.241.26.7)> 229 Entering Extended Passive Mode (|||50629|)
(000005)3/11/2016 16:47:02 PM - user (141.241.26.7)> LIST
(000005)3/11/2016 16:47:02 PM - user (141.241.26.7)> 150 Opening data channel for directory listing of "/"
(000005)3/11/2016 16:47:02 PM - user (141.241.26.7)> 226 Successfully transferred "/"

의 IP 주소입니다 Connecting to xxx.xxx.xxx.xxx:21...227 Entering Passive Mode (xxx,xxx,xxx,xxx,195,141)동일은?
Martin Prikryl

TLS를 끄려고 했습니까? 이것이 명령 줄과 다른 점입니다.
Martin Prikryl

허, 그래요. 명령 행에서 사용하지 않은 것을 보지 못했습니다. 왜 TLS가 작동하지 않는지 아십니까?
slhck

다시 한번, 초기 FileZilla 클라이언트 시도에 대한 클라이언트 및 서버 측 로그를 모두 보여줄 수 있습니까? 추가 한 로그는 레거시로 폴백하여 다시 시도하기위한 것 PASV입니다.
Martin Prikryl

그러나 그들은 항상 PASV로 넘어갑니다. 다음 주에 다시 올게요. 이제 인터넷없이 주말로 갈 거예요.
slhck
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.