commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbre...@wi.rr.com (Jeffrey D. Brekke)
Subject Re: org.apache.commons.net.ftp.FTPClient
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 <cmleko@us.ibm.com>
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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org

-- 
=====================================================================
Jeffrey D. Brekke                                   jbrekke@wi.rr.com
Wisconsin,  USA                                     brekke@apache.org
                                                    ekkerbj@yahoo.com


Mime
View raw message