Page 1 of 1

550 error on Windows server LIST -a

Posted: 2024-03-11 13:39
by kevin306
Keep getting this error:
<Date/Time> Info [Type] Message
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 [Response] 220-FileZilla Server 1.8.1
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 [Command] USER kevin
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 [Response] 331 Please, specify the password.
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 [Command] PASS ****
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 [Response] 230 Login successful.
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] TYPE I
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 200 Type set to I
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] CWD /testdir
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 250 CWD command successful
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] PWD
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 257 "/testdir" is current directory.
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] CWD /testdir
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 250 CWD command successful
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] PWD
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 257 "/testdir" is current directory.
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] SYST
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 215 UNIX emulated by FileZilla.
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] PORT 188,118,34,229,248,124
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 200 PORT command successful.
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] LIST -a /testdir
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 550 Invalid file name or path

But the directory exists, I created under the homedir a directory testdir. Any advice on where to find the solution to this error?

Thx in advance!

Re: 550 error on Windows server LIST -a

Posted: 2024-03-11 13:56
by boco
You are trying to LIST a directory named "-a /testdir". This directory does not exist and the name is invalid, anyway.

Please instruct your client to NOT send the unsupported and incompatible -a parameter. LIST does only support a pathname as argument.

Re: 550 error on Windows server LIST -a

Posted: 2024-03-11 13:56
by botg
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] PWD
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Response] 257 "/testdir" is current directory.
...
<11/03/2024 14:34:12> FTP Session 35 188.118.34.229 kevin [Command] LIST -a /testdir
The LIST command takes exactly one argument. The client wants to list the directory "-a /testdir" relative to the current working directory "/testdir". The corresponding absolute path is "/testdir/-a /testdir".