FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2014-04-24 15:14

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2012-05-24 17:20 
Offline
500 Command not understood

Joined: 2012-05-24 16:44
Posts: 1
Okay so I've setup a server on Windows 7 with DynDNS. So far I've configured DynDNS properly and set the settings in the firewall to allow connections inbound and outbound on port 21. But still I get this error.....

Quote:
425 Can't open data connection.
Failed to retrieve directory listing.


It tells me that the user is logged in appropriately but it is not dropping them into there home folder or allowing them to connect/transfer any data etc. I've set both server/client to use passive mode, and I'm fairly sure the firewall is configured correctly as well, so now I'm pulling my hair out, any help would be appreciated.


Attachments:
ftp error.png
ftp error.png [ 102.75 KiB | Viewed 66625 times ]
Top
 Profile  
 
PostPosted: 2012-05-24 21:26 
Online
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19663
Location: Germany
Quote:
So far I've configured DynDNS properly and set the settings in the firewall to allow connections inbound and outbound on port 21. But still I get this error.....


Code:
425 Can't open data connection.
Failed to retrieve directory listing.


Yes, of course, because the listings and transfers do NOT use port 21. In the screenshot, the port offered was 49389 (192*256+237). So, in addition to the listening port, you need to define, open and forward a range of ports for Passive data connections (minimum recommended 100 ports). Please refer to the Network Configuration guide for details. Besides, in case you are behind a router and test from your own LAN, use the private LAN IP to connect.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
PostPosted: 2012-08-13 20:57 
Offline
500 Command not understood

Joined: 2012-08-13 19:06
Posts: 2
HI,

I also have the problem with the 425 error code. The sever is behind a router (D-link DIR-825) which I have forwarded port 21 to the IP of the server in the network. When i try to connect with my filezilla client from another computer behind a router using the server's Global IP, where server is, I am able to log in and when is about to list the directory list, it shows me the 425 connection error code. I tried to use Active and passive mode and get the same response. In the other hand if I connect with my Air Card using active mode, I go straight through with no problem. I have Changed the port numbers from a different range but no luck. Is there a final port configuration that I can use in this case for the Client, server and router?

This is a dirty sketch of the topology:
IP of the server after the router 192.xxx.xxx.xxx:21
My PC ---> router--->Internet---->router---->server
Global IP of the server: xxx.xxx.xxx.xxx:21


Any help will be greatly appreciated.


Top
 Profile  
 
PostPosted: 2012-08-13 22:06 
Online
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19663
Location: Germany
Same solution. Define, open and forward a range of ports for Passive data transfers at the server side (for Active, on the client side). Please read Network Configuration.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
PostPosted: 2012-08-14 04:09 
Offline
500 Command not understood

Joined: 2012-08-13 19:06
Posts: 2
Thank you for the quick reply, but....

I already setup the filezilla server according to the Network configuration page for passive connections, specified ports 50000 to 51000 and entered he global IP address in filezilla server, add exeptions in the firewall. I have a D-link DIR-825 and this one have two sections: one is virtual server tab and the other is port forwarding tab.

In the Virtual server settings i have:
- name of server
- local IP address
- TCP = 21
- UDP = 21
- schedule = always
- allow
With this configuration I am able to connect locally.

In the port forwarding tab:
- name of server
- local IP Address
- TCP = (50000-51000)
- UDP = (50000-51000)
- schedule = always
- allow

I am able to connect through Remote Desktop to my server giving it a TCP=3389 in the virtual server tab, but when I made that change in the port forwarding tab I lost connection with the remote desktop and now I am not able to make any connection what so ever with the filezilla client.

If you are so kind to provide me with an example of "Define, open and forward a range of ports".

I think I made things worst.


Top
 Profile  
 
PostPosted: 2012-08-14 06:12 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22557
If you have a choice between port forwarding and virtual server, always use the former. Note that FTP only uses TCP, forwarding UDP is not needed.


Top
 Profile  
 
PostPosted: 2012-08-14 11:54 
Online
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19663
Location: Germany
Quote:
I already setup the filezilla server according to the Network configuration page for passive connections, specified ports 50000 to 51000 and entered he global IP address in filezilla server, add exeptions in the firewall.
You did not mention that in your post.

FileZilla Server requires forwarding TCP ports, the listening one (default 21 but can be changed) and data ports for Passive connections.

Define - You must enter the range into FZ Server's Passive settings so it knows which ones it can offer in the Passive reply.
Open - Local firewalls often like to block the Passive ports despite the application service itself being allowed. Reason is unknown, but then you need to open these ports separately.
Forward - You did that in the router already. Please use static forwarding and not Port Triggering/Virtual Server.


Quote:
I am able to connect through Remote Desktop to my server giving it a TCP=3389 in the virtual server tab, but when I made that change in the port forwarding tab I lost connection with the remote desktop and now I am not able to make any connection what so ever with the filezilla client.
The Virtual Server may do further things you may not notice. The RDP feature may benefit from that, but FTP traffic has to pass largely unfiltered, it is very fragile in this regard.

_________________
### BEGIN SIGNATURE BLOCK ###
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
All support requests per PM will be ignored!
### END SIGNATURE BLOCK ###


Top
 Profile  
 
PostPosted: 2013-10-28 15:51 
Offline
500 Command not understood

Joined: 2013-10-28 15:49
Posts: 1
I also ran into this error when Windows Firewall on 2008 R1 was not allowing FileZilla as a program, but FTP ports on their own. I allowed the program and could then get the directory listing.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Dedicated server provided by Artmotion.
Forum sponsored by Everyware.ch.
Powered by phpBB® Forum Software © phpBB Group