public synchronized URL addFile ( File localFile , String remoteFile ) throws IOException , MalformedURLException { return addPath ( new Path ( localFile . toURI ( ) ) , new Path ( remoteFile ) ) ; }
Adds a file to the artifact server .