Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#12814 closed Bug report (worksforme)

FZ Server 1.5.1 Directory Listing fails

Reported by: Dieter Owned by:
Priority: normal Component: FileZilla Server
Keywords: LIST command with wildcard fails Cc: Dieter
Component version: Operating system type: Windows
Operating system version: Win 10 22H2

Description (last modified by Dieter)

A client app submits "LIST SESS*.REQ". FZ 1.5.1 answers: "550 Couldn't open the file or directory".
(there was a file SESS0099.REQ in the user's home-dir (Native path)).

I tried to track the problem down using Sysinternals Procmon and compared it to FZ 0.9.60.2: obviously Fz 0.9.60.2 executes the "LIST SESS*.REQ" differently to FZ 1.5.1. (see attached files)

Attached files should clarify the issue.

Attachments (3)

FZ151_Procmon.jpg (265.1 KB ) - added by Dieter 2 months ago.
Procmon file of FZ 1.5.1 executing the LIST SESS*.REQ
FZ0960_Procmon.jpg (337.5 KB ) - added by Dieter 2 months ago.
FZ 0.90.6.2 executing the LIST SESS*.REQ
Server_151_Error.jpg (156.2 KB ) - added by Dieter 2 months ago.
FZ 1.5.1 Error Message "550 Couldn't open file or directory"

Download all attachments as: .zip

Change History (9)

by Dieter, 2 months ago

Attachment: FZ151_Procmon.jpg added

Procmon file of FZ 1.5.1 executing the LIST SESS*.REQ

by Dieter, 2 months ago

Attachment: FZ0960_Procmon.jpg added

FZ 0.90.6.2 executing the LIST SESS*.REQ

by Dieter, 2 months ago

Attachment: Server_151_Error.jpg added

FZ 1.5.1 Error Message "550 Couldn't open file or directory"

comment:1 by Dieter, 2 months ago

Description: modified (diff)

comment:2 by Dieter, 2 months ago

Description: modified (diff)

comment:3 by Tim Kosse, 2 months ago

Resolution: worksforme
Status: newclosed

Is there actually a directory named "SESS*.REQ"? Note that in Windows, asterisks cannot be part of a file or directory name, so obviously this command always fails.

Note that the behavior of the old 0.9.x server is not compliant with the FTP specifications.

comment:4 by Dieter, 2 months ago

dg

comment:5 by Dieter, 2 months ago

The FTP-RFC does not explicitly address globbing so a server is not required to do globbing. But it would be very, very nice if FZ 1.5.1 would keep supporting it.

Thanks.

comment:6 by Tim Kosse, 2 months ago

Impossible, it would leave ambiguities in how commands are processed. In particular, the behavior would change depending on whether a file or directory with asterisks actually exists. Since FZ 1.x is cross-platform, this is a very real possibility.

Note: See TracTickets for help on using tickets.