I tried the custom command thing in file zilla Command: OPTS MLST size;modify;type;perm Response: 200 Command OPTS okay. Status: Retrieving directory listing... Command: CWD / Response: 250 Directory changed to / Command: PWD Response: 257 "/" is current directory. Command: TYPE I Response: 200 Command TYPE okay. Command: PASV Response: 227 Entering Passive Mode (127,0,0,1,207,242) Command: MLSD Response: 150 File status okay; about to open data connection. Response: 226 Closing data connection. Status: Directory listing successful
Now I see the perms as "elfpcm" for all the files Is there a way to configure Apache FTP Server to disable MS* commands so that FileZilla would fall back to LIST? Thanks Sachin -----Original Message----- From: sebb [mailto:seb...@gmail.com] Sent: Monday, October 10, 2011 9:00 AM To: ftpserver-users@mina.apache.org Subject: Re: Filezilla sends OPTS MLST size;modify;type; causing missing perms and owners On 10 October 2011 04:13, Sachin Shetty <sshe...@egnyte.com> wrote: > Hi, > > Here is the one for apache ftp server: > > Status: Resolving address of localhost > Status: Connecting to [::1]:2221... > Status: Connection attempt failed with "ECONNREFUSED - Connection refused by > server", trying next address. > Status: Connecting to 127.0.0.1:2221... > Status: Connection established, waiting for welcome message... > Response: 220 Service ready for new user. > Command: USER sshetty@localhost7000 > Response: 331 User name okay, need password for sshetty@localhost7000. > Command: PASS ********* > Response: 230 User logged in, proceed. > Command: SYST > Response: 215 UNIX Type: Apache FtpServer > Command: FEAT > Response: 211-Extensions supported > Response: SIZE > Response: MDTM > Response: REST STREAM > Response: LANG en;zh-tw;ja;is > Response: MLST Size;Modify;Type;Perm Perm is supported > Response: AUTH SSL > Response: AUTH TLS > Response: MODE Z > Response: UTF8 > Response: TVFS > Response: MD5 > Response: MMD5 > Response: MFMT > Response: 211 End > Command: OPTS UTF8 ON > Response: 200 Command OPTS okay. > Command: OPTS MLST size;modify;type; Yet FileZilla does not request perm That could be a FileZilla bug. It does explain why Apache Ftp Server does not send perms. If you can force FileZilla to send particular MLST options, you could see if that allows the perms to be returned. > Response: 200 Command OPTS okay. > Status: Connected > Status: Retrieving directory listing... > Command: PWD > Response: 257 "/" is current directory. > Command: TYPE I > Response: 200 Command TYPE okay. > Command: PASV > Response: 227 Entering Passive Mode (127,0,0,1,207,36) > Command: MLSD > Response: 150 File status okay; about to open data connection. > Response: 226 Closing data connection. > Status: Directory listing successful > > > -----Original Message----- > From: sebb [mailto:seb...@gmail.com] > Sent: Monday, October 10, 2011 8:14 AM > To: ftpserver-users@mina.apache.org > Subject: Re: Filezilla sends OPTS MLST size;modify;type; causing missing > perms and owners > > On 9 October 2011 14:41, Sachin Shetty <sshe...@egnyte.com> wrote: >> Here is the listing on the pureftpd >> >> Command: USER sshetty|egnyte >> Response: 331 User sshetty|egnyte OK. Password required >> Command: PASS ............................. >> Response: 230-User sshetty|egnyte has group access to: 1000 >> ftp-paid 100 >> Response: 230 OK. Current directory is / >> Command: SYST >> Response: 215 UNIX Type: L8 >> Command: FEAT >> Response: 211-Extensions supported: >> Response: EPRT >> Response: IDLE >> Response: MDTM >> Response: SIZE >> Response: REST STREAM >> Response: MLST >> type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*; >> Response: MLSD >> Response: XDBG >> Response: AUTH TLS >> Response: PBSZ >> Response: PROT >> Response: UTF8 >> Response: TVFS >> Response: ESTA >> Response: PASV >> Response: EPSV >> Response: SPSV >> Response: 211 End. >> Command: OPTS UTF8 ON >> Response: 200 OK, UTF-8 enabled >> Status: Connected >> Status: Retrieving directory listing... >> Command: PWD >> Response: 257 "/" is your current location >> Command: TYPE I >> Response: 200 TYPE is now 8-bit binary >> Command: PASV >> Response: 227 Entering Passive Mode (208,83,106,12,78,252) >> Command: MLSD >> Response: 150 Accepted data connection >> Response: 226-Options: -a -l >> Response: 226 7 matches total >> Status: Directory listing successful > > OK, so what is the equivalent listing for Apache Ftp Server? > > The listing you provided previously does not show the SYST command, so > AFAICT cannot be the full listing unless you have changed the settings > for the Apache connection. > > >> -----Original Message----- >> From: sebb [mailto:seb...@gmail.com] >> Sent: Sunday, October 09, 2011 5:54 PM >> To: ftpserver-users@mina.apache.org >> Subject: Re: Filezilla sends OPTS MLST size;modify;type; causing missing >> perms and owners >> >> On 8 October 2011 23:02, Sachin Shetty <sshe...@egnyte.com> wrote: >>> Hi, >>> >>> >>> >>> When logging in to apache ftp server I see this: >>> >>> >>> >>> Response: 220 Service ready for new user. >>> >>> Command: USER sshetty@localhost7000 >>> >>> Response: 331 User name okay, need password for >>> sshetty@localhost7000. >>> >>> Command: PASS ********* >>> >>> Response: 230 User logged in, proceed. >>> >>> Command: OPTS UTF8 ON >>> >>> Response: 200 Command OPTS okay. >>> >>> Command: OPTS MLST size;modify;type; >>> >>> Response: 200 Command OPTS okay. >>> >>> Status: Connected >>> >>> >>> >>> I guess the OPTS MLST command forces the Apache FTP Server to not send >> perms >>> and owner info. >>> >>> >>> >>> Any idea what prompts FileZilla to send the MSLT command? FileZilla on > an >>> old pureftpd server works fine? >> >> What is the corresponding sequence when running FileZilla against > pureftpd? >> >>> >>> >>> >>> >>> Thanks >>> >>> Sachin >>> >>> >> >> > >