HttpAsyncClient httpclient = new DefaultHttpAsyncClient();
httpclient.start();
try {
File upload = new File(args[0]);
File download = new File(args[1]);
ZeroCopyPost httpost = new ZeroCopyPost("http://localhost:8080/", upload,
ContentType.create("text/plain", null));
ZeroCopyConsumer<File> consumer = new ZeroCopyConsumer<File>(download) {
@Override
protected File process(final HttpResponse response, final File file) throws Exception {