Re: Check if file already exists

2006-10-16 Thread Christian Hauser
Thank you Mat That was exactly what I was looking for. Christian Mathieu Champlon wrote: Christian Hauser a écrit : Hello I'd like to check within an Ant target whether a particular file already exists on the disk and if not download the file (using the Get Ant task). How do I

Check if file already exists

2006-10-16 Thread Christian Hauser
Hello I'd like to check within an Ant target whether a particular file already exists on the disk and if not download the file (using the Get Ant task). How do I best check if the file already exists? Any help (preferably with a small code snippet) is appreciated. Thanks in advance, Christi