[Cyberduck-trac] [Cyberduck] #6159: Long delay when reading FTP directory in version 4.1

Cyberduck trac at trac.cyberduck.ch
Mon Aug 22 18:27:11 CEST 2011


#6159: Long delay when reading FTP directory in version 4.1
---------------------------+------------------------
 Reporter:  swwest@…       |         Owner:  dkocher
     Type:  defect         |        Status:  new
 Priority:  low            |     Milestone:
Component:  ftp            |       Version:  4.1
 Severity:  normal         |    Resolution:
 Keywords:                 |  Architecture:  Intel
 Platform:  Mac OS X 10.6  |
---------------------------+------------------------
Description changed by dkocher:

Old description:

> I switched from version 3.8.1 to 4.1 today and noticed a significant
> delay in loading directories on FTP sites. When I compared the log files,
> there is a different sequence and the process stalls on the step: 215
> NETWARE Type: L8
> STAT //GS16/GS16/ for the 4.1 version. If I wait long enough, it does
> complete the load, but as seen below, the stat info does not show in the
> log. If I hit the stop (big red icon) button while it is stalled, it
> immediately shows the directory. I guess that the stop button ends the
> attempt to run STAT. So I am wondering whether the FTP site is confused
> by this different sequence of events. The following log files include the
> lines up to the PASV command.
>
> The first sequence is from 3.8.1:
> 220 Service Ready for new User
> FEAT
> 500 'FEAT' : Unknown Command
> USER .westc.w.employee.clemsonu
> 331 Password Needed for Login
> PASS ********
> 230 User WESTC Logged in Successfully
> NOOP
> 200 NOOP Command Successful
> CWD //GS16/GS16/workgroups
> 250 Directory successfully changed to "/GS16/workgroups"
> SYST
> 215 NETWARE Type: L8
> STAT //GS16/GS16/workgroups
> 211-  Client IP Address     24.31.14.198
> 211-  User                  CN=westc.OU=w.OU=EMPLOYEE.O=CLEMSONU
> 211-  Current Context       OU=w.OU=EMPLOYEE.O=CLEMSONU
> 211-  Name Space            LONG
> 211-  Current Directory     /GS16/workgroups
> 211-  Current Server        GS16
> 211-  Transfer Type         ASCII
> 211-  Transfer Structure    FILE
> 211-  Files Sent            0
> 211-  Files Received        0
> 211-  Bytes Sent            0.000 KBytes
> 211-  Bytes Received        0.000 KBytes
> 211-  Avg Transfer Rate     0.000 KBytes/sec
> 211-  Session Time          0 Hr 0 Min 6 Sec
> 211-  Last Command          SYST
> 211 End of Status
> PASV
> ...
>
> This is the sequence for 4.1:
> 220 Service Ready for new User
> FEAT
> 500 'FEAT' : Unknown Command
> USER .westc.w.employee.clemsonu
> 331 Password Needed for Login
> PASS ********
> 230 User WESTC Logged in Successfully
> NOOP
> 200 NOOP Command Successful
> SYST
> 215 NETWARE Type: L8
> STAT //GS16/GS16/workgroups
> 220 Service Ready for new User
> FEAT
> 500 'FEAT' : Unknown Command
> USER .westc.w.employee.clemsonu
> 331 Password Needed for Login
> PASS ********
> 230 User WESTC Logged in Successfully
> CWD //GS16/GS16/workgroups
> 250 Directory successfully changed to "/GS16/workgroups"
> TYPE A
> 200 TYPE Command OK A
> PASV
> ...

New description:

 I switched from version 3.8.1 to 4.1 today and noticed a significant delay
 in loading directories on FTP sites. When I compared the log files, there
 is a different sequence and the process stalls on the step: 215 NETWARE
 Type: L8
 STAT //GS16/GS16/ for the 4.1 version. If I wait long enough, it does
 complete the load, but as seen below, the stat info does not show in the
 log. If I hit the stop (big red icon) button while it is stalled, it
 immediately shows the directory. I guess that the stop button ends the
 attempt to run STAT. So I am wondering whether the FTP site is confused by
 this different sequence of events. The following log files include the
 lines up to the PASV command.

 The first sequence is from 3.8.1:

 {{{
 220 Service Ready for new User
 FEAT
 500 'FEAT' : Unknown Command
 USER .westc.w.employee.clemsonu
 331 Password Needed for Login
 PASS ********
 230 User WESTC Logged in Successfully
 NOOP
 200 NOOP Command Successful
 CWD //GS16/GS16/workgroups
 250 Directory successfully changed to "/GS16/workgroups"
 SYST
 215 NETWARE Type: L8
 STAT //GS16/GS16/workgroups
 211-  Client IP Address     24.31.14.198
 211-  User                  CN=westc.OU=w.OU=EMPLOYEE.O=CLEMSONU
 211-  Current Context       OU=w.OU=EMPLOYEE.O=CLEMSONU
 211-  Name Space            LONG
 211-  Current Directory     /GS16/workgroups
 211-  Current Server        GS16
 211-  Transfer Type         ASCII
 211-  Transfer Structure    FILE
 211-  Files Sent            0
 211-  Files Received        0
 211-  Bytes Sent            0.000 KBytes
 211-  Bytes Received        0.000 KBytes
 211-  Avg Transfer Rate     0.000 KBytes/sec
 211-  Session Time          0 Hr 0 Min 6 Sec
 211-  Last Command          SYST
 211 End of Status
 PASV
 }}}

 ...

 This is the sequence for 4.1:

 {{{
 220 Service Ready for new User
 FEAT
 500 'FEAT' : Unknown Command
 USER .westc.w.employee.clemsonu
 331 Password Needed for Login
 PASS ********
 230 User WESTC Logged in Successfully
 NOOP
 200 NOOP Command Successful
 SYST
 215 NETWARE Type: L8
 STAT //GS16/GS16/workgroups
 220 Service Ready for new User
 FEAT
 500 'FEAT' : Unknown Command
 USER .westc.w.employee.clemsonu
 331 Password Needed for Login
 PASS ********
 230 User WESTC Logged in Successfully
 CWD //GS16/GS16/workgroups
 250 Directory successfully changed to "/GS16/workgroups"
 TYPE A
 200 TYPE Command OK A
 PASV
 ...
 }}}

--

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/6159#comment:1>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list