ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robertson, Julie" <Julie.Robert...@conocophillips.com>
Subject RE: Ftp task question again
Date Tue, 01 May 2007 18:37:31 GMT
By using the wildcard character I could build the file name, but how do
I specify the server and location of the file, or do I actually do that
inside the ftp task? 

-----Original Message-----
From: Loehr, Ruel [mailto:rloehr@pointserve.com] 
Sent: Tuesday, May 01, 2007 1:34 PM
To: Ant Users List
Subject: RE: Ftp task question again

Do you know ahead of time what the filenames might be?    If so, then
you could do something like this:

  <available property="present"
               file="foo"
               />

For one of the files.

-----Original Message-----
From: Robertson, Julie [mailto:Julie.Robertson@conocophillips.com] 
Sent: Tuesday, May 01, 2007 1:28 PM
To: Ant Users List
Subject: Ftp task question again

Sorry about sending this again, I guess I removed myself from the users
list in error, so I wanted to add myself back in and resend this in case
someone has an idea to solve my issue.

I am trying to copy files using the ftp task and a fileset include which
is working just fine.  The problem I am having is I need to know when 0
files are retrieved so that I can send an email if the files are not
there.  Is there a way to check to see if the files exist using the ftp
task?

Thanks for your time,
Julie


Julie Robertson
Commercial Leveraged Application Services
918.661.3850
Julie.Robertson@conocophillips.com


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message