Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 75102 invoked from network); 2 Jan 2009 18:58:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 18:58:36 -0000 Received: (qmail 78316 invoked by uid 500); 2 Jan 2009 18:58:32 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 78251 invoked by uid 500); 2 Jan 2009 18:58:32 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 78240 invoked by uid 99); 2 Jan 2009 18:58:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 10:58:32 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 18:58:24 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LIpDg-0001w2-8L for user@commons.apache.org; Fri, 02 Jan 2009 10:58:04 -0800 Message-ID: <21255584.post@talk.nabble.com> Date: Fri, 2 Jan 2009 10:58:04 -0800 (PST) From: MohanN To: user@commons.apache.org Subject: Time out Setting [commons NET/FTP] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mamoray@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, Can someone please help me? I am new to the FTP Client stuff. I need to transfer the files from my server to other remote servers. I have a batch Job running which will transfer the files using the Apache FTPClient. If there are any issues like network issues we need to send out an email Notification to customer support people so they can escalate the issue. We know the Size of the file and how much time it takes to transfer the files in ideal case. But we had seen some cases where it took more than 15 minutes to transfer just 10KB files. We want to send email if that happens again. What kind of timeout settings I need to set? I am using Apache common net 2.0 and Java 5. I really appreciate your help. Thanks, Mohan N -- View this message in context: http://www.nabble.com/Time-out-Setting--commons-NET-FTP--tp21255584p21255584.html Sent from the Commons - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org