Re: [Proftpd-user] Directory listing fails

John May <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
On 3/2/17 10:27 PM, TJ Saunders wrote:
>
>> Trying to list a directory with about 18,000 files.  It's not working -
>> says the connection timed out.  Tried setting maxfiles in the proftpd
>> prefs and also set FTP client to active mode.
>
> Which party appears to be timing out the connection, the client or the
> server?  What's the specific command you're using?  Just LIST, or LIST
> with a glob/pattern, or...?
>
> Cheers,
> TJ
>


I'm not exactly sure.  I'm accessing the ProFTPd server using the 
Transmit FTP client on OS X.

Here's the complete session transcript:



Connection 1

Transmit 4.4.10 (x86_64) Session Transcript [Version 10.11.6 (Build 
15G1217)] (3/3/17, 7:09 AM)
LibNcFTP 3.2.3 (July 23, 2009) compiled for UNIX
Remote server is running ProFTPD.
220: ProFTPD 1.3.6rc2 Server (ftp10.pointinspace.com) [216.27.95.22]
Connected to ftp10.pointinspace.com.
Cmd: USER supercargo
331: Password required for supercargo
Cmd: PASS xxxxxxxx
230: User supercargo logged in
Cmd: TYPE A
200: Type set to A
Logged in to ftp10.pointinspace.com as supercargo.
Cmd: SYST
215: UNIX Type: L8
Cmd: FEAT
211: Features:
       EPRT
       EPSV
       HOST
       MDTM
       MFF modify;UNIX.group;UNIX.mode;
       MFMT
       MLST 
modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
       REST STREAM
       SIZE
       TVFS
      End
Cmd: PWD
257: "/" is the current directory
Cmd: PORT 192,168,0,34,228,158
200: PORT command successful
Cmd: LIST -a
150: Opening ASCII mode data connection for file list
226: Transfer complete
drwxrwx---   8 supercargo supercargogroup      272 Sep 12  2014 .
drwxrwx---   8 supercargo supercargogroup      272 Sep 12  2014 ..
-rwxrwxrwx   1 supercargo supercargogroup   855341 Mar  2 21:29 
SuperContainer.log
-rw-rw----   1 supercargo supercargogroup      306 Feb 16  2015 
SuperContainer.log.1
-rw-rw----   1 supercargo supercargogroup        0 Jan 26  2012 
SuperContainer.log.1.lck
-rw-rw----   1 supercargo supercargogroup        0 Dec 30  2011 
SuperContainer.log.lck
drwxrwx---   5 supercargo supercargogroup      170 Aug  2  2016 
supercontainer
drwxrwx---   9 supercargo supercargogroup      306 Oct 20  2014 thumbnails
Cmd: MDTM SuperContainer.log
213: 20170302212909
Cmd: OPTS MLST modify;
200: MLST OPTS modify;
Cmd: PORT 192,168,0,34,228,159
200: PORT command successful
Cmd: MLSD
150: Opening ASCII mode data connection for MLSD
226: Transfer complete
modify=20140912175428; .
modify=20140912175428; ..
modify=20160802050407; supercontainer
modify=20170302212909; SuperContainer.log
modify=20150216083855; SuperContainer.log.1
modify=20120126190733; SuperContainer.log.1.lck
modify=20111230165129; SuperContainer.log.lck
modify=20141020201017; thumbnails
Cmd: CWD /supercontainer
250: CWD command successful
Cmd: PORT 192,168,0,34,228,161
200: PORT command successful
Cmd: LIST -a
150: Opening ASCII mode data connection for file list
226: Transfer complete
drwxrwx---   5 supercargo supercargogroup      170 Aug  2  2016 .
drwxrwx---   8 supercargo supercargogroup      272 Sep 12  2014 ..
drwxrwx---   5 supercargo supercargogroup      170 Jun 13  2014 CBE
drwxrwx---   4 supercargo supercargogroup      136 Apr  9  2014 GDC
drwxrwx---   6 supercargo supercargogroup      204 Aug 21  2012 ICE
Cmd: PORT 192,168,0,34,228,163
200: PORT command successful
Cmd: MLSD
150: Opening ASCII mode data connection for MLSD
226: Transfer complete
modify=20160802050407; .
modify=20140912175428; ..
modify=20140613175656; CBE
modify=20140409232546; GDC
modify=20120821123901; ICE
Cmd: CWD /supercontainer/ICE
250: CWD command successful
Cmd: PORT 192,168,0,34,228,164
200: PORT command successful
Cmd: LIST -a
150: Opening ASCII mode data connection for file list
226: Transfer complete
drwxrwx---   6 supercargo supercargogroup      204 Aug 21  2012 .
drwxrwx---   5 supercargo supercargogroup      170 Aug  2  2016 ..
drwxrwx--- 923 supercargo supercargogroup    31382 Jan  6 00:32 DOCS
drwxrwx---   8 supercargo supercargogroup      272 Dec 16  2015 DONATIONS
drwxrwx--- 17629 supercargo supercargogroup   599386 Jan  6 16:45 IMAGES
drwxrwx---   3 supercargo supercargogroup      102 Jun 25  2016 zLOGO
Cmd: PORT 192,168,0,34,228,165
200: PORT command successful
Cmd: MLSD
150: Opening ASCII mode data connection for MLSD
226: Transfer complete
modify=20120821123901; .
modify=20160802050407; ..
modify=20170106003227; DOCS
modify=20151216214942; DONATIONS
modify=20170106164522; IMAGES
modify=20160625235032; zLOGO
Cmd: CWD /supercontainer/ICE/IMAGES
250: CWD command successful
Cmd: PORT 192,168,0,34,228,167
200: PORT command successful
Cmd: LIST -a
150: Opening ASCII mode data connection for file list
Could not directory listing data -- timed out.
Remote server is running ProFTPD.
220: ProFTPD 1.3.6rc2 Server (ftp10.pointinspace.com) [216.27.95.22]
Connected to ftp10.pointinspace.com.
Cmd: USER supercargo
331: Password required for supercargo
Cmd: PASS xxxxxxxx
230: User supercargo logged in
Cmd: TYPE A
200: Type set to A
Logged in to ftp10.pointinspace.com as supercargo.
Cmd: SYST
215: UNIX Type: L8
Cmd: FEAT
211: Features:
       EPRT
       EPSV
       HOST
       MDTM
       MFF modify;UNIX.group;UNIX.mode;
       MFMT
       MLST 
modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
       REST STREAM
       SIZE
       TVFS
      End
Cmd: PWD
257: "/" is the current directory
Cmd: CWD /supercontainer/ICE/IMAGES
250: CWD command successful
Cmd: PORT 192,168,0,34,228,178
200: PORT command successful
Cmd: LIST -a
150: Opening ASCII mode data connection for file list
Could not directory listing data -- timed out.

-- 

-------------------------------------------------------------------
John May : President                   http://www.pointinspace.com/
Point In Space Internet Solutions         800.664.8610 919.338.8198

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.