Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MLSD listing incompatibility #3137

Closed
cyberduck opened this issue Apr 27, 2009 · 8 comments
Closed

MLSD listing incompatibility #3137

cyberduck opened this issue Apr 27, 2009 · 8 comments
Assignees
Labels
bug ftp FTP Protocol Implementation high priority worksforme

Comments

@cyberduck
Copy link
Collaborator

4af1d3e created the issue

I have a couple mediatemple accounts I administer. Seems if I connect as serveradmin@domainname.com Cyberduck flips out.

If no remote path is set, it simply keeps reconnecting over and over and over again.

If the remote path of "/" is set, it connects, disconnects and remains on the bookmarks page. But for some reason there's a green connected indicator next to the bookmark (can't find a browser anywhere though for the connection).

Just started happening with the latest and greatest.

MLSD
150 Accepted data connection
type=dir;sizd=2;modify=20080407152740;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db623;
containers
type=dir;sizd=6;modify=20080517214805;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=41605;unique=16g22db624;
data
type=dir;sizd=12;modify=20090424150310;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db63a;
domains
type=dir;sizd=3;modify=20080407152740;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db797;
etc
type=dir;sizd=237;modify=20090428172521;UNIX.mode=02750;UNIX.uid=33;UNIX.gid=41605;unique=16g22db798;
logs

@cyberduck
Copy link
Collaborator Author

4af1d3e commented

can't leave a comment?

@cyberduck
Copy link
Collaborator Author

4af1d3e commented

log of ftp connecting and disconnecting immediately.

220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 157 of 400 allowed.
220-Local time is now 11:06. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 15 minutes of inactivity.
USER serveradmin@vetta-zelo.com
331 User serveradmin@vetta-zelo.com OK. Password required
PASS ********
230-User serveradmin@vetta-zelo.com has group access to:  41605   
230 OK. Current directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 TVFS
 ESTP
 PASV
 EPSV
 SPSV
 ESTA
 AUTH TLS
 PBSZ
 PROT
211 End.
NOOP
200 Zzz...
CWD /
250 OK. Current directory is /
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (64,13,232,159,207,36)
MLSD
150 Accepted data connection
type=dir;sizd=2;modify=20080407152740;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db623; containers
type=dir;sizd=6;modify=20080517214805;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=41605;unique=16g22db624; data
type=dir;sizd=12;modify=20090424150310;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db63a; domains
type=dir;sizd=3;modify=20080407152740;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db797; etc
type=dir;sizd=237;modify=20090428172521;UNIX.mode=02750;UNIX.uid=33;UNIX.gid=41605;unique=16g22db798; logs

@cyberduck
Copy link
Collaborator Author

4af1d3e commented

this is a log of when I change the home directory to nothing. (previous example had a home directory of "/")

220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 147 of 400 allowed.
220-Local time is now 11:10. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 15 minutes of inactivity.
USER serveradmin@vetta-zelo.com
331 User serveradmin@vetta-zelo.com OK. Password required
PASS ********
230-User serveradmin@vetta-zelo.com has group access to:  41605   
230 OK. Current directory is /
FEAT
211-Extensions supported:
 EPRT
 IDLE
 MDTM
 SIZE
 REST STREAM
 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
 MLSD
 TVFS
 ESTP
 PASV
 EPSV
 SPSV
 ESTA
 AUTH TLS
 PBSZ
 PROT
211 End.
PWD
257 "/" is your current location
NOOP
200 Zzz...
SYST
215 UNIX Type: L8
PASV
227 Entering Passive Mode (64,13,232,159,212,223)
MLSD
150 Accepted data connection
type=dir;sizd=2;modify=20080407152740;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db623; containers
type=dir;sizd=6;modify=20080517214805;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=41605;unique=16g22db624; data
type=dir;sizd=12;modify=20090424150310;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db63a; domains
type=dir;sizd=3;modify=20080407152740;UNIX.mode=0750;UNIX.uid=342049;UNIX.gid=33;unique=16g22db797; etc
type=dir;sizd=237;modify=20090428172521;UNIX.mode=02750;UNIX.uid=33;UNIX.gid=41605;unique=16g22db798; logs
NOOP
226-Options: -l 
226 7 matches total

@cyberduck
Copy link
Collaborator Author

4af1d3e commented

looks like this was an issue with mediatemple.

due to their ftp settings previously, i had to disable sendStatListCommand to show hidden files.

now they must have changed something...

defaults write ch.sudo.cyberduck ftp.sendStatListCommand true fixed it.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As a workaround, you can disable MLSD support using

defaults write ch.sudo.cyberduck ftp.sendMlsdListCommand false

@cyberduck
Copy link
Collaborator Author

3a85b9e commented

I am having the same problem connecting to a PureFTPd server over TLS. Connecting with plain FTP works fine.

I can work around the problem by going to CyberDuck preferences, FTP tab, and unchecking "Try to use TLS for data channel".

Interestingly, another server with an almost identical configuration doesn't have this problem.

Working server:
pure-ftpd-1.0.21_1
Cert issued by EquiFax but expired

Non-working server:
pure-ftpd-1.0.22
Self-signed cert

Turns out that PureFTPd 1.0.22 added support for TLS on data channels. From their changelog:

  • TLS support on data channels, contributed by Rajat Upadhyaya from Novell
    and Christian Cier-Zniewski.

Not sure if this is a CyberDuck or ProFTPd bug.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#3681 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

From the Pure-FTPd changelog at http://download.pureftpd.org/pub/pure-ftpd/doc/ChangeLog :

  • Version 1.0.26:
  • Fix incompatibilities with Cyberduck when TLS is enabled.

I updated from Pure-FTPd 1.0.22 to 1.0.27 and this MLSD problem no longer occurred. Looks like it was a bug on Pure-FTPd and they fixed it.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation high priority worksforme
Projects
None yet
Development

No branches or pull requests

2 participants