Or, there's an optional ant task that can xfer files called scp. You will need the NetComponents.jar
I personally prefer the Maverick Ant Task - I can get a simulated shell session (though I have found the "exec" task doesn't seem to work for me) for more scripting ability
Lewin
I have no java certifications. This makes me a bad programmer. Ignore my post.