return statusHandler.handleRequest(request, response, new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_BAD_REQUEST, "File name not specified.", null));
IFileStore toCreate = dir.getChild(name);
if (!name.equals(toCreate.getName()) || name.contains(":"))
return statusHandler.handleRequest(request, response, new ServerStatus(IStatus.ERROR, HttpServletResponse.SC_BAD_REQUEST, "Bad file name: " + name, null));
int options = getCreateOptions(request);
boolean destinationExists = toCreate.fetchInfo(EFS.NONE, null).exists();
if (!validateOptions(request, response, toCreate, destinationExists, options))
return true;
//perform the operation
if (performPost(request, response, requestObject, toCreate, options)) {
//write the response