Can we perform operations like download,upload or delete a file from Sharepoint using Apache Ant or any other tool/API. Basically I am looking for something that will run as script.
SharePoint does offer an API, but I am not aware of a Java one. My guess is you'll need .NET or similar Windows technology for this. It does offer web services access too.