public String config(int s, int com, String p, long si) {
		if (connState == 0) {
			if(com != 3){
				connState = s;
				size = si;
				command = com;
				path = p;
				contentPath = rootPath + "content/" + p;
				indexPath = rootPath + "index/" + p;
				pwdPath = rootPath + "pwd/" + p;
				lenPath = rootPath + "len/" + p;
				return "";
			}
			else{
				connState = s;
				blockNO = (int) si;
				command = com;
				path = p;
				contentPath = rootPath + "content/" + p;
				indexPath = rootPath + "index/" + p;
				pwdPath = rootPath + "pwd/" + p;
				return "";
			}
		}
		return "ERROR";
	}