URLConnection connection = url.openConnection();
method.setPath(concatenate(urlFile, path, "/"));
method.setHeader("content-type", connection.getContentType());
method.sendData(connection.getInputStream());
client.executeMethod(method);
int status = method.getStatusCode();
if ((status != HttpStatus.SC_OK) &&
(status != HttpStatus.SC_CREATED) &&
(status != HttpStatus.SC_ACCEPTED) &&