FTPS Problem: failed to retrieve directory listing

Please post here if you have problems in using Wing FTP Server.

FTPS Problem: failed to retrieve directory listing

Postby frhey » Tue May 31, 2011 2:48 pm

Hello.

Server = wingFTPserver 3.8.7
Client = FileZilla 3.4.0
FTP and HTTPS works fine. No problems.

Connect and login to the server over FTPS (SSL/TSL) seems to be OK. But then comes a problem. After a few secounds of waiting the client disconnect the session: "failed to retrieve directory listing".

The Firewall has open ports on 990 tcp, 990 udp, 989 tcp and 989 udp and a NAT to the lokal adress 2.2.2.2.
(I change the IPs for this public board ;-) )

Here the domain-log from the server:
[02] Tue, 31 May 2011 16:12:49 (0000029) Connected from 111.111.111.111 (local address 2.2.2.2, port 990)
[04] Tue, 31 May 2011 16:12:49 (0000029) 220 Wing FTP Server 3.8.7 ready...
[03] Tue, 31 May 2011 16:12:50 (0000029) USER Administrator
[04] Tue, 31 May 2011 16:12:50 (0000029) 331 Password required for Administrator
[03] Tue, 31 May 2011 16:12:50 (0000029) PASS **********
[04] Tue, 31 May 2011 16:12:50 (0000029) 230 User Administrator logged in.
[03] Tue, 31 May 2011 16:12:50 (0000029) OPTS UTF8 ON
[04] Tue, 31 May 2011 16:12:50 (0000029) 200 UTF8 OPTS ON
[03] Tue, 31 May 2011 16:12:50 (0000029) PBSZ 0
[04] Tue, 31 May 2011 16:12:50 (0000029) 200 Command okay. PBSZ=0.
[03] Tue, 31 May 2011 16:12:50 (0000029) PROT P
[04] Tue, 31 May 2011 16:12:50 (0000029) 200 Encrypting Data Channel.
[03] Tue, 31 May 2011 16:12:50 (0000029) PWD
[04] Tue, 31 May 2011 16:12:50 (0000029) 257 "/" is current directory.
[03] Tue, 31 May 2011 16:12:50 (0000029) TYPE I
[04] Tue, 31 May 2011 16:12:50 (0000029) 200 Type set to I
[03] Tue, 31 May 2011 16:12:50 (0000029) PASV
[04] Tue, 31 May 2011 16:12:50 (0000029) 227 Entering Passive Mode (2,2,2,2,4,7)
[03] Tue, 31 May 2011 16:12:50 (0000029) MLSD
[02] Tue, 31 May 2011 16:13:11 (0000029) Closed session,disconnected from 111.111.111.111

Could you help me, please?

best regards
Frank
frhey
 
posts 6
 
joined Fri May 27, 2011 12:48 pm

Re: FTPS Problem: failed to retrieve directory listing

Postby FTP » Tue May 31, 2011 4:34 pm

OK, If you tested with FTP correctly, but failed with FTPS, I think this problem is mostly due to Firewall/Router, so which firewall are you running? and do you use ISA?
FTP
Site Admin
 
posts 1225
 
joined Tue Sep 29, 2009 6:09 am

Re: FTPS Problem: failed to retrieve directory listing

Postby frhey » Wed Jun 01, 2011 1:03 pm

This tip was enough :-)
Yes, it was the firewall. The problem is solved and FTPS is running now.

thank you.

best regards
Frank
frhey
 
posts 6
 
joined Fri May 27, 2011 12:48 pm

Re: FTPS Problem: failed to retrieve directory listing

Postby mwaters31 » Wed Sep 28, 2011 3:21 pm

Do we know what the fix was? Having same issue, different firewall.
mwaters31
 
posts 3
 
joined Wed Sep 28, 2011 3:19 pm

Re: FTPS Problem: failed to retrieve directory listing

Postby FTP » Wed Sep 28, 2011 5:16 pm

Please have a look on this KB article: viewtopic.php?f=5&t=5
FTP
Site Admin
 
posts 1225
 
joined Tue Sep 29, 2009 6:09 am

Re: FTPS Problem: failed to retrieve directory listing

Postby mwaters31 » Wed Sep 28, 2011 6:41 pm

Hmm.. Still stuck at MLSD. Using fileZIlla as client. Have opened up ports 10000-10500 at firewall for both TCP and UDP to WING server. In Wireshark,WING server keeps responding on ports in the range of TCP >57340.
mwaters31
 
posts 3
 
joined Wed Sep 28, 2011 3:19 pm

Re: FTPS Problem: failed to retrieve directory listing

Postby FTP » Thu Sep 29, 2011 2:32 am

I think your problem is not port, it is IP address, you must specify an internet IP address for the FTP Pasv Mode.
FTP
Site Admin
 
posts 1225
 
joined Tue Sep 29, 2009 6:09 am

Re: FTPS Problem: failed to retrieve directory listing

Postby mwaters31 » Thu Sep 29, 2011 10:18 pm

Please explain. I have entered the External FTP address in the correct box in the WING console. I have even static natted the internal FTP server address to its external address for outbound purposes.
mwaters31
 
posts 3
 
joined Wed Sep 28, 2011 3:19 pm

Re: FTPS Problem: failed to retrieve directory listing

Postby FTP » Mon Oct 03, 2011 8:38 am

The passive reply message must contain an WAN IP address, then WAN user can connect to it.
FTP
Site Admin
 
posts 1225
 
joined Tue Sep 29, 2009 6:09 am


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron