FileZilla Forums

Welcome to the official discussion forums for FileZilla
Donate to project
It is currently 2014-04-20 11:44

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2009-08-06 19:22 
Offline
500 Command not understood

Joined: 2009-08-06 19:14
Posts: 2
I do not have this problem with Filezilla 3.2.31.........but with 3.2.6.1. I get the following when trying to display a directory list (see below).......I went back to 3.2.31 and it is working again but something is wrong with 3.2.6.1.

3.2.6.1:
Command: CWD /incoming/xxxxx/yyyyyyy
Response: 250 CWD command successful.
Command: PASV
Response: 227 Entering Passive Mode (zzz,zzz,zz,zz,zz,z)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing


3.2.31:
Response: 257 "/incoming/xxxxx/yyyyyyy" is cwd.
Command: TYPE I
Response: 200 Command okay.
Command: PASV
Response: 227 Entering Passive Mode (zzz,zzz,zz,zz,zz,z)
Command: LIST
Response: 150 File status okay; about to open data connection.
Response: 226 Transfer complete, closing data connection.
...
Status: Directory listing successful


Top
 Profile  
 
PostPosted: 2009-08-06 19:48 
Offline
226 Transfer OK

Joined: 2008-11-24 17:23
Posts: 267
looks like the server you are working with doesn't understand the MLSD command, which is very silly as it is a two year old standard.. Other than contacting the server admin to see if their server is up to date, I would check any local firewalls to see if it is somehow blocking the updated FZclient from connecting out.

_________________
Network Config Guide (setup & connection issues)
FileZilla wiki (FAQs, screenshots, & "got logs?" info:)
FTP server test (plain), FTP(E)S server test (encrypted)
FTP commands (see also List_of_FTP_server_return_codes)


Top
 Profile  
 
PostPosted: 2009-08-06 20:35 
Offline
500 Command not understood

Joined: 2009-08-06 19:14
Posts: 2
we do have a firewall but would the firewall be specifically involved with a MLSD command ? ....versus a LIST command ?


Top
 Profile  
 
PostPosted: 2009-08-06 21:09 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19654
Location: Germany
Yes, that's possible. Some firewalls/router don't know how to treat the MLSD command and sabotge it, either intentionally or unintentionally.

_________________
### 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: 2009-08-06 21:11 
Offline
226 Transfer OK

Joined: 2008-11-24 17:23
Posts: 267
many personal software firewalls attempt to control inbound and outbound packets per application in addition to controlling port accesses (and further what gets passed over those ports) all of which allows for some pretty tight rules craft.

Some PFWs are not too good at determining if a once permitted application has changed (as in been updated/upgraded), many use md5 or sha to hash and compare running programs/processes to that hash before allowing it to connect out or allow data back in.

Just a guess, but perhaps what rules worked before with older version of FZc won't work now, if it is a PFW try deleting the old rules and making a new rule for the new FZc.

I suspect it is more a non-compliant server though... You could take the new version of FZc and sent the server a raw command once you are connected, go to FZc toolbar, click server> "enter custom command"> and type LIST in the box, hit ok. If that returns the directory listing (before you timeout) then contact the FTP server admin to see if there is some upgrade they can do to get their server updated and RFC compliant.

_________________
Network Config Guide (setup & connection issues)
FileZilla wiki (FAQs, screenshots, & "got logs?" info:)
FTP server test (plain), FTP(E)S server test (encrypted)
FTP commands (see also List_of_FTP_server_return_codes)


Top
 Profile  
 
PostPosted: 2009-08-06 21:48 
Offline
226 Transfer OK
User avatar

Joined: 2006-05-01 03:28
Posts: 19654
Location: Germany
Filezilla v2 and v3 are not the same software. Filezilla 3 is new and needs it's own rules. Also, depending on the firewall, you may need to renew the rules with every update.

_________________
### 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: 2009-08-06 21:50 
Offline
Site Admin
User avatar

Joined: 2004-02-23 20:49
Posts: 22540
MLSD is only used on servers that are advertising MLSD support. So if MLSD fails as seen in the log, it's clearly a broken router and/or firewall sabotaging the connection.


Top
 Profile  
 
PostPosted: 2011-08-09 16:39 
Offline
500 Command not understood

Joined: 2011-08-09 16:35
Posts: 2
Just want to let people know how I got this working.

With the MLSD timeout the problem can also be in the router.


I got a new Asus router and I forwarded the ports for passive mode wrong.
I have a qnap NAS and I connect on port 21 on ftp and port xxxxx:xxxxx in passive mode.
In my asus router I set the port forward (virtual server) correctly now and it works again.
My FTP is forwarded correctly on port 21 to my NAS IP, just standart stuff. The problem was the passive ports my NAS wanted to use also.

I did this in my port forward section (Virtual Server is it called in ASUS routers):


Service name: Whateveryoulike

Port Range: The passive ports your device will use (standart 55536:56559 for Qnap)

Local IP: The local IP of the device (something like 192.168.0.xxx)

Local Port: *LEAVE THIS BLANK* <My mistake was I set it to 21

Protocol: Both

Add

Apply

BOOM! We got uplink.


The problem could be something else, but this fixed my timeout and now it all works.


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: James2014, Majestic-12 [Bot], SteveHi and 12 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