SIZE with No directory list BUG

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
jekit
500 Command not understood
Posts: 3
Joined: 2019-01-06 02:14

SIZE with No directory list BUG

#1 Post by jekit » 2019-01-06 02:21

Hi Everyone,

just discovered that if allowed only Read permission and No directory list, FileZilla server will not support SIZE command.
If you turn off Directory list, the server will not return file SIZE on size command.
Another FTP servers return file size in such case.

Anyone can reproduce this?
ver. 0.9.60.2

Thanks in advance

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

Re: SIZE with No directory list BUG

#2 Post by boco » 2019-01-06 06:46

FileZilla Server does not support "blind" operation. Removing the List permission makes a directory inaccessible. That's intended and by design.
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

jekit
500 Command not understood
Posts: 3
Joined: 2019-01-06 02:14

Re: SIZE with No directory list BUG

#3 Post by jekit » 2019-01-06 14:17

boco wrote:
2019-01-06 06:46
FileZilla Server does not support "blind" operation.
Why not to add "blind" mode feature?
Please argue.

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

Re: SIZE with No directory list BUG

#4 Post by boco » 2019-01-06 15:41

Nothing to argue, I'm not the dev.
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: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: SIZE with No directory list BUG

#5 Post by botg » 2019-01-06 18:18

No, what purpose would such an obscure configuration have?

jekit
500 Command not understood
Posts: 3
Joined: 2019-01-06 02:14

Re: SIZE with No directory list BUG

#6 Post by jekit » 2019-01-08 17:46

botg wrote:
2019-01-06 18:18
No, what purpose would such an obscure configuration have?
Just for anonymous FTP with directory list turned off. Some programs send SIZE command and get an error in this case.

I talk about only about SIZE behaviour not about 'blind' mode.
If the file available for download then the SIZE command must work.
Does not matter directory list turned on or off.

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

Re: SIZE with No directory list BUG

#7 Post by boco » 2019-01-08 20:42

If the file available for download then the SIZE command must work.
Yes, but in FileZilla Server without List permission set, it isn't. Without List, you can neither download nor upload, no matter what other permissions you set.

FileZilla Server uses List as the master kill switch - unchecking List completely removes the directory+subs from the equation. Not displayed in file lists, not accessible in any way.
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: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: SIZE with No directory list BUG

#8 Post by botg » 2019-01-08 21:31

You are attempting to rely on security by obscurity, which is a deeply flawed concept. Just don't. If you don't want user A to download files from user B, create separate accounts for these users with different passwords.

Post Reply