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 <[EMAIL PROTECTED]> said: > I downloaded commons-net-1.0.0 from url > http://jakarta.apache.org/builds/jakarta-commons/release/commons-net/v1.0.0 > / 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: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] -- ===================================================================== Jeffrey D. Brekke [EMAIL PROTECTED] Wisconsin, USA [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
