commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Jeffrey D. Brekke)
Subject Re:
Date Mon, 17 Mar 2003 20:49:57 GMT

I'm not sure if this will help you but are you logging out before disconnecting?  I remember
way back having to make sure that we logged out before disconnecting for some reason.  Not
sure if that is still an issue.

Also maybe there is a completePendingCommand() that needs to be issued?

>>>>> On Mon, 17 Mar 2003 14:19:56 -0500, Cathy Mleko <>

> I downloaded commons-net-1.0.0 from url
> / on February 19, 2003 at 14:58, the day after it became available.
> While testing methods I've written which use the FTPClient class
> methods, I found that disconnect() was taking five minutes to
> complete each and every time it was used to disconnect from either
> an MVS or an AIX FTP server.  Since I'd used
> setDefaultTimeout(300000) to set the default timeout to 300 seconds
> (five minutes) , I thought the coincidence might have some
> relevance, so I removed setDefaultTimeout() from my code.  After
> doing this, each disconnect() began taking fifteen minutes to
> complete instead of the initial five minutes it had taken on both
> the MVS and the AIX systems I returned setDefaultTime(3000000) to my
> code, and disconnect() now takes five minutes to disconnect from an
> MVS FTP server and fifteen minutes to disconnect from an AIX FTP
> server.  Why doesn't the disconnect occur instantaneously, and what
> might I do to eliminate this performance issue?  Please respond as
> soon as possible since I'm supposed to install next week.  Thanks
> for your help.

> Cathy Mleko

> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Jeffrey D. Brekke                         
Wisconsin,  USA                           

View raw message