public static void clientRemove(final Socket socket,DataInputStream datais,String basepath) {
		boolean success=false;
		DataOutputStream dataOutputStream=null;
		OutputStream outputStream=null;
		try {
			outputStream=socket.getOutputStream();
			dataOutputStream = new DataOutputStream(outputStream);
			// 读取到请求的url
			String url = datais.readUTF();
			Pattern regex = Pattern.compile("/[A-Z0-9]{2}/[A-Z0-9]{2}/[A-Za-z0-9-]+\\.[a-z]+");
			Matcher matcher = regex.matcher(url);
			if (matcher.find()) {
				String storepath = basepath + matcher.group();
				System.out.println("file disk store path:" + storepath);
				File file = new File(storepath);
				if (file.exists())
					success = file.delete();
			}
			dataOutputStream.writeBoolean(success);
			dataOutputStream.flush();
			
		} catch (Exception e) {
			e.printStackTrace();
		}finally{
			if(dataOutputStream!=null){
				try {
					dataOutputStream.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			if(outputStream!=null){
				try {
					outputStream.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			if(socket!=null){
				try {
					socket.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
	}