handleException(resp, "Transfer request must indicate target filename", null, HttpServletResponse.SC_BAD_REQUEST);
return;
}
//chop "import" segment off the front
IPath path = new Path(req.getPathInfo()).removeFirstSegments(1);
String uuid = new UniversalUniqueIdentifier().toBase64String();
ClientImport newImport = new ClientImport(uuid, getStatusHandler());
newImport.setPath(path);
newImport.setLength(length);
newImport.setFileName(fileName);
try {