[Cyberduck-trac] [Cyberduck] #1353: FTP cannot list directory

Cyberduck trac at trac.cyberduck.ch
Tue Dec 4 22:53:15 CET 2007


#1353: FTP cannot list directory
---------------------------------+------------------------------------------
 Reporter:  bkiziltan at gmail.com  |        Owner:  dkocher
     Type:  defect               |       Status:  new    
 Priority:  high                 |    Milestone:         
Component:  ftp                  |      Version:  2.8.1  
 Severity:  major                |   Resolution:         
 Keywords:                       |  
---------------------------------+------------------------------------------
Comment (by soka):

 I've spent some time with inspecting this further on. As I googled it, it
 seems it's impossible to set timeout for a new Socket, so here the code
 always have to wait 60 seconds. The setSoTimeout(int) or the
 socket.connect(ip, timeout), effects only already opened connections.
 Unfortunately in this case no specific exception is thrown, but
 ConnectException. ConnectException != TimeoutException, but maybe in this
 specific case it could be used to start a 'fallback' for the other type of
 connection. If both active and passive fails with ConnectException, a
 specific flag could be set, and user could be informed that there was a
 ConnectExcepion?

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/1353#comment:4>
Cyberduck <http://cyberduck.ch>
FTP and SFTP Browser for Mac OS X.


More information about the Cyberduck-trac mailing list