private static CompressionType getType(String str) {
		CompressionType type = CompressionType.NONE;
		str = str.toLowerCase();
		if(str.equalsIgnoreCase("gzip")) {
			type = CompressionType.GZIP;
		} else if(str.equalsIgnoreCase("zip")) {
			type = CompressionType.ZIP;
		} else if(str.equalsIgnoreCase("rar")) {
			type = CompressionType.RAR;
		} else {
			ServerWindow.getSingleton().printCommandText("Compression type "+str+" not supported!");
			return null;
		}
		return type;
	}