NVPair[] headers = new NVPair[]
{mimeHeader};
HTTPResponse response =
connection.Put(WebDavUtils.getFullPath(config) + TextUtils.EncodePath(remotePath), WebDavUtils
.getBytes(inFile), headers);
int status = response.getStatusCode();
if (status == HTTPStatus.CREATED)
{