Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 31427 invoked from network); 25 Mar 2005 13:34:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Mar 2005 13:34:47 -0000 Received: (qmail 29711 invoked by uid 500); 25 Mar 2005 13:34:42 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 29683 invoked by uid 500); 25 Mar 2005 13:34:42 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 29670 invoked by uid 99); 25 Mar 2005 13:34:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtpout02-04.prod.mesa1.secureserver.net (HELO smtpout02-04.prod.mesa1.secureserver.net) (64.202.165.194) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 25 Mar 2005 05:34:40 -0800 Received: (qmail 31720 invoked from network); 25 Mar 2005 13:34:37 -0000 Received: from unknown (24.13.84.182) by smtpout02-04.prod.mesa1.secureserver.net (64.202.165.194) with ESMTP; 25 Mar 2005 13:34:37 -0000 Message-ID: <4244136C.8010108@javactivity.org> Date: Fri, 25 Mar 2005 07:34:36 -0600 From: Steve Cohen User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [net] FTPclient: keeping track of dates of files on the server References: <4241A12E.1090301@apache.org> <42420E67.2050006@javactivity.org> <424290C1.2010301@apache.org> <4242B1AD.8090001@javactivity.org> <4242CB81.6070009@apache.org> In-Reply-To: <4242CB81.6070009@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Neeme: Is Ant the right tool for your job? Ant is a build tool, not an all-purpose scripting language. If what you describe is all you're doing, you might consider a script written in perl or python, or perhaps in java using commons-net directly. Or if you're in a j2ee container environment like jboss, using some of the clustering features they offer. I wouldn't choose Ant for your use case unless you're also simultaneously doing some other kinds of building and packaging that you haven't mentioned. Steve Neeme Praks wrote: > > ok, clear enough. > I'll look into the source code of the ftp task and play around with it a > bit. > Another suggestion for that task is to allow retry-in-case-of-failure, > not just abort or ignore as in the current version. But I'll take those > issues up on Ant list. > > My use case is simple: I'm using ant ftp task to deploy Velocity scripts > to several front-end machines (7 in total). > And it is really annoying to change one file and to discover that > instead of just uploading one file, it will upload a whole bunch of them... > I actually need some more customized behaviour, so I will most probably > write a separate task and see if there are any more interested parties > in Ant community. > > Rgds, > Neeme > --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org