I've been trying to copy over a folder from my local machine to a network machine using the the Manager Commands with Ant build for deployment. I've created a shared folder to allow full access on the network. However, when executing the command, its deploying the application as a .war file and error return java.io.IOException: insufficient data written.
I'm using the tutorial Executing Manager Commands with Ant from here
Specfying the path to deploy and then ant deploy doesn't seem to work with directories, only war files.