Monday, January 6, 2003 01:27 PM
I am new to both java and ant, so please bear with me ...
I have a number of tasks that I only want to execute if an FTP with a get action actually "gets" any files. However, the FTP task is successful irrespective of how many files it retrieves.
I tried doing a FTP with a list action and out putting the results to a file, and then trying to determine how many, if any files were listed ... but I am having trouble with this approach.
Any suggestions on the best approach?