500 Syntax error, command unrecognized.

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
pomdre
500 Command not understood
Posts: 2
Joined: 2019-04-26 14:35
First name: Sondre
Last name: Batalden

500 Syntax error, command unrecognized.

#1 Post by pomdre » 2019-04-26 14:37

I'm having trouble connecting to my server on port 22.
Any help?
Creating listen socket on port 22...
Creating listen socket on port 990..

(004226)26.04.2019 16:21:56 - (not logged in) ()> Connected on port 22, sending welcome message...
(004226)26.04.2019 16:21:56 - (not logged in) ()> 220 Velkommen
(004226)26.04.2019 16:21:56 - (not logged in) ()> SSH-2.0-FileZilla_3.39.0
(004226)26.04.2019 16:21:56 - (not logged in) ()> 500 Syntax error, command unrecognized.

https://ftptest.net/#result

Status: Connected, waiting for welcome message...

Reply: 220 Velkommen

Command: CLNT https://ftptest.net on behalf of

Reply: 200 Don't care

Command: AUTH TLS

Reply: 234 Using authentication type TLS

Status: Performing TLS handshake...

Status: TLS handshake successful, verifying certificate...

Status: Received 1 certificates from server.

Status: cert[0]: subject='CN=,C=NO,ST=Bergen,L=Bergen,O=Dag og Natt,OU=Drift,EMAIL=kontaktpomdre@gmail.com' issuer='CN=,C=NO,ST=Bergen,L=Bergen,O=Dag og Natt,OU=Drift,EMAIL=kontaktpomdre@gmail.com'

Command: USER voff

Reply: 331 Password required for voff

Command: PASS ****

Reply: 230 Logged on

Command: SYST

Reply: 215 UNIX emulated by FileZilla

Command: FEAT

Reply: 211-Features:

Reply: MDTM

Reply: REST STREAM

Reply: SIZE

Reply: MLST type*;size*;modify*;

Reply: MLSD

Reply: AUTH SSL

Reply: AUTH TLS

Reply: PROT

Reply: PBSZ

Reply: UTF8

Reply: CLNT

Reply: MFMT

Reply: EPSV

Reply: EPRT

Reply: 211 End

Command: PBSZ 0

Reply: 200 PBSZ=0

Command: PROT P

Reply: 200 Protection level set to P

Command: PWD

Reply: 257 "/" is current directory.

Status: Current path is /

Command: TYPE I

Reply: 200 Type set to I

Command: PASV

Reply: 227 Entering Passive Mode (90,149,222,18,199,91)

Command: MLSD

Status: Data connection established, performing TLS handshake...

Status: TLS handshake successful, verifying certificate...

Status: Received 1 certificates from server.

Status: cert[0]: subject='CN=,C=NO,ST=Bergen,L=Bergen,O=Dag og Natt,OU=Drift,EMAIL=kontaktpomdre@gmail.com' issuer='CN=,C=NO,ST=Bergen,L=Bergen,O=Dag og Natt,OU=Drift,EMAIL=kontaktpomdre@gmail.com'

Status: TLS session of transfer connection has been resumed.

Listing: type=file;modify=20190318110941;size=187; .htaccess

Listing: type=file;modify=20190204181843;size=949; 403.php

Listing: type=file;modify=20190204181843;size=982; 404.php

Listing: type=dir;modify=20190206175827; admin

Listing: type=dir;modify=20190206175827; ArmorStand-generator

Listing: type=dir;modify=20190206175827; community

Listing: type=dir;modify=20190206175828; css

Listing: type=file;modify=20190204181843;size=2207; faq.php

Listing: type=dir;modify=20190416131717; historie

Listing: type=dir;modify=20190206175828; img

Reply: 150 Opening data channel for directory listing of "/"

Reply: 226 Successfully transferred "/"

Status: Skipped display of 13 listing lines

Status: Success
Last edited by pomdre on 2019-11-28 19:45, edited 1 time in total.

pomdre
500 Command not understood
Posts: 2
Joined: 2019-04-26 14:35
First name: Sondre
Last name: Batalden

Re: 500 Syntax error, command unrecognized.

#2 Post by pomdre » 2019-04-26 14:54

Found out not to use port 22

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

Re: 500 Syntax error, command unrecognized.

#3 Post by boco » 2019-04-26 21:32

Port 22 is SFTP, completely incompatible protocol. FileZilla Server does not support it. Default port for FTP is 21.

Note that FileZilla will automatically attempt connection with the default port's correct protocol, so, if you try to connect to 22, it will automatically know to use SFTP. That's why you should refrain from using reserved ports for other uses. Reserved ports are all up to and including 1024.
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

Post Reply