Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#11581 closed Bug report (rejected)

Fail to list a folder with an ending '|' in it

Reported by: l3nsec Owned by:
Priority: normal Component: FileZilla Client
Keywords: directory, folder Cc:
Component version: 3.32.0 Operating system type: Windows
Operating system version: 8.1

Description

I have a folder with the name "Chill EDM: Relax | Calm | Lowkey | Melodic | Vibes |" on my vsftpd server, however when I access my FTP using FileZilla, it shows the folder name without that ending '|' and when trying to enter it I receive a:
"Response: 550 Failed to change directory.
Error: Failed to retrieve directory listing".

Change History (9)

comment:1 by Tim Kosse, 3 years ago

Resolution: rejected
Status: newclosed

It's a server-side error. There's nothing we can do about it.

comment:2 by l3nsec, 3 years ago

No it isn't, on my phone I use ES File Explorer to access it and I can enter the folder just fine.

comment:3 by l3nsec, 3 years ago

Resolution: rejected
Status: closedreopened

comment:4 by Tim Kosse, 3 years ago

Resolution: rejected
Status: reopenedclosed

Then it cannot be an ending '|' character.

comment:5 by l3nsec, 3 years ago

Resolution: rejected
Status: closedreopened

What do you even mean by "it cannot be"? This is clearly a bug...

comment:6 by Tim Kosse, 3 years ago

Resolution: rejected
Status: reopenedclosed

Does the server by chance still not support the MLSD command?

In case the server still requires using the outdated LIST command, then trailing pipes have to be ignored among a few other character as it is a type indicator in ls-style listings. And no, changing how the LIST output is parsed cannot be done as doing so would annoy countless other users that rely on the type indicator to be stripped, as it not part of the filename itself.

The solution is to upgrade to a server supporting MLSD which is well-specified and does not suffer from this problem. MLSD has been specified over 11 years ago. Every modern server supports it.

Last edited 3 years ago by Tim Kosse (previous) (diff)

comment:7 by l3nsec, 3 years ago

Then explain to me how an ftp client on my phone is able to open the folder and if trailing pipes is the problem then how do they appear in the name except for the last one?

comment:8 by Tim Kosse, 3 years ago

Your other client has a different problem, if shows extra characters on LIST-only servers sending type indicators, so you couldn't access your files on such servers.

The only solution is to use an MLSD capable server, MLSD output is well-specified and does not suffer from such problems.

comment:9 by l3nsec, 3 years ago

Got it... Thanks and sorry for wasting your time. :P

Note: See TracTickets for help on using tickets.