501 Syntax error

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
matt2369
500 Command not understood
Posts: 2
Joined: 2009-05-04 22:47
First name: Matt
Last name: Andreychuk

501 Syntax error

#1 Post by matt2369 » 2009-05-04 23:00

I am trying to setup a home FTP server and I am getting a error. I have read a ton of forum pages and nothing seems to work. When I try to log onto my server from a computer outside my LAN I get an 501 Syntax error. By looking at the logs it looks like I'm getting through my Firewall just fine but looks like it's have issues opening my directory?

Below are a copy of my logs. Any help is much appreciated! :D

(000010) 5/4/2009 18:54:45 PM - (not logged in) (75.134.106.223)> Connected, sending welcome message...
(000010) 5/4/2009 18:54:45 PM - (not logged in) (75.134.106.223)> 220-FileZilla Server version 0.9.31 beta
(000010) 5/4/2009 18:54:45 PM - (not logged in) (75.134.106.223)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000010) 5/4/2009 18:54:45 PM - (not logged in) (75.134.106.223)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000010) 5/4/2009 18:54:45 PM - (not logged in) (75.134.106.223)> USER Guest
(000010) 5/4/2009 18:54:45 PM - (not logged in) (75.134.106.223)> 331 Password required for guest
(000010) 5/4/2009 18:54:46 PM - (not logged in) (75.134.106.223)> PASS *********
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> 230 Logged on
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> FEAT
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> 211-Features:
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> MDTM
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> REST STREAM
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> SIZE
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> MLST type*;size*;modify*;
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> MLSD
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> UTF8
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> CLNT
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> MFMT
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> 211 End
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> PWD
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> 257 "/" is current directory.
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> TYPE A
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> 200 Type set to A
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> PORT |2|fe80::45f:6a3:3f57:fdfb%8|52588|
(000010) 5/4/2009 18:54:46 PM - guest (75.134.106.223)> 501 Syntax error
(000010) 5/4/2009 18:55:09 PM - guest (75.134.106.223)> QUIT

User avatar
boco
Contributor
Posts: 26938
Joined: 2006-05-01 03:28
Location: Germany

Re: 501 Syntax error

#2 Post by boco » 2009-05-05 02:01

Looks like the client is sending IPv6 data. Filezilla Server does not support IPv6. Configure your client to send IPv4 data. I'd recommend to use Passive mode, too.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35563
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: 501 Syntax error

#3 Post by botg » 2009-05-05 07:58

Even if it did, for IPv6 you need to use EPRT, not PORT.

matt2369
500 Command not understood
Posts: 2
Joined: 2009-05-04 22:47
First name: Matt
Last name: Andreychuk

Re: 501 Syntax error

#4 Post by matt2369 » 2009-05-05 17:11

I am using FireFTP as my client and I only see one setting that refers to IP6 which is under the passive mode settings, and it is not checked. Also, I tried connecting in passive mode but I get a 425 Can't open data connection error. Here are my logs for my attempt in passive mode.

(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> Connected, sending welcome message...
(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> 220-FileZilla Server version 0.9.31 beta
(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> USER Guest
(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> 331 Password required for guest
(000011) 5/5/2009 13:03:15 PM - (not logged in) (12.157.133.140)> PASS *********
(000011) 5/5/2009 13:03:15 PM - guest (12.157.133.140)> 230 Logged on
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> FEAT
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> 211-Features:
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> MDTM
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> REST STREAM
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> SIZE
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> MLST type*;size*;modify*;
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> MLSD
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> UTF8
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> CLNT
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> MFMT
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> 211 End
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> PWD
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> 257 "/" is current directory.
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> TYPE A
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> 200 Type set to A
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> PASV
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> 227 Entering Passive Mode (75,134,106,223,195,81)
(000011) 5/5/2009 13:03:16 PM - guest (12.157.133.140)> MLSD
(000011) 5/5/2009 13:03:27 PM - guest (12.157.133.140)> 425 Can't open data connection.
(000011) 5/5/2009 13:03:32 PM - guest (12.157.133.140)> QUIT
(000011) 5/5/2009 13:03:32 PM - guest (12.157.133.140)> 221 Goodbye

Any help is appreciated.

User avatar
botg
Site Admin
Posts: 35563
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: 501 Syntax error

#5 Post by botg » 2009-05-05 18:53

Most likely some router and/or firewall sabotaging the connection.

Please read the Network Configuration guide.

Post Reply