Problem when listing
Moderator: Project members
-
- 500 Command not understood
- Posts: 5
- Joined: 2022-09-20 12:48
- First name: Cristobal
- Last name: Rodriguez
Problem when listing
Hi, I have just set up an FTP server (ProFTPD and Microsoft Active Directory authentication) on Ubuntu 20.04.4 LTS.
The problem arises when I use from windows filezilla client, it does not list the directories or files that correspond to the group "domain users", I have activated the debugger and when listing it shows all the directories correctly but not in the visual.
If I assign a group without spaces to these files or directories, they are displayed.
Can this be solved by configuring the FTP server?
I attach an example image
The problem arises when I use from windows filezilla client, it does not list the directories or files that correspond to the group "domain users", I have activated the debugger and when listing it shows all the directories correctly but not in the visual.
If I assign a group without spaces to these files or directories, they are displayed.
Can this be solved by configuring the FTP server?
I attach an example image
Re: Problem when listing
This is a well-known limitation of using LIST, which sends directory listings in an unspecified, human-readable format that differs from server to server. Due to ambiguities it is not possible to parse it in all circumstances.
Please switch to a modern FTP server supporting MLSD as defined in RFC 3659. Listings returned by MLSD have been designed to be machine-readable.
Please switch to a modern FTP server supporting MLSD as defined in RFC 3659. Listings returned by MLSD have been designed to be machine-readable.
-
- 500 Command not understood
- Posts: 5
- Joined: 2022-09-20 12:48
- First name: Cristobal
- Last name: Rodriguez
Re: Problem when listing
Thank you for your response,
Proftpd is supposed to support MLSD and MLST.
Some alternative ftp server for linux?
Proftpd is supposed to support MLSD and MLST.
Some alternative ftp server for linux?
Re: Problem when listing
I might be ever so slightly biased, but may I recommend FileZilla Server?
Re: Problem when listing
Yes, but is it enabled in your server configuration? Was called "facts" or similar IIRC.Proftpd is supposed to support MLSD and MLST.
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
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2022-09-20 12:48
- First name: Cristobal
- Last name: Rodriguez
Re: Problem when listing
Well,I have tried enabling/disabling the following the following to your proftpd.conf:
<IfModule mod_facts.c>
FactsAdvertise off
</IfModule>
but it still doesn't display everything, according to the following reference even if I disable MLSD mode so that the old LIST commands are used, filezilla does not.
<IfModule mod_facts.c>
FactsAdvertise off
</IfModule>
but it still doesn't display everything, according to the following reference even if I disable MLSD mode so that the old LIST commands are used, filezilla does not.
Re: Problem when listing
Your screenshot above shows that LIST is being used. LIST = bad, MLSD = good. You want MSLD, not list.
Facts advertising (in FEAT response) should thus be on. If that doesn't change anything, make sure your server binary has been built (compiled) with mod_facts support included.
Note that FileZilla will only issue the FEAT command during the first connection to the server. So, if you change anything in the server configs, you MUST also close and reopen FileZilla.
Facts advertising (in FEAT response) should thus be on. If that doesn't change anything, make sure your server binary has been built (compiled) with mod_facts support included.
Note that FileZilla will only issue the FEAT command during the first connection to the server. So, if you change anything in the server configs, you MUST also close and reopen FileZilla.
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
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2022-09-20 12:48
- First name: Cristobal
- Last name: Rodriguez
Re: Problem when listing
thanks for your help, try to compile proftd by adding the mod_facts module. And it didn't work either. I kept digging and found the solution, you have to configure the ListOptions parameter in proftpd.conf. In my case it would be using ListOptions "-n". Here is a link with all the available options.
Re: Problem when listing
You should also include "-a", as an FTP server should never hide any files from users.
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
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2022-09-20 12:48
- First name: Cristobal
- Last name: Rodriguez
Re: Problem when listing
ok, thanks for everything