public int commandConfigureUpload(){
		UrpPkg pkg = new UrpPkg();
		UrpCmd cmd = new UrpCmd();
		cmd.setCmdID(COMMAND_ConfigureUpload);
		int data = 0x73;
		byte[] com001 = new byte[4];
		Util.putInt(com001, (data),0);
		cmd.setData(com001);
		cmd.setdLen(4);
		pkg.setCmdFlag(COMMAND_FLAG);
		pkg.setCmd(cmd);
		pkg.setSeqID(++MainFrame.sequence);
		UrpPkg reply = _UDPCommunication.send(detectorIp, detectorPort, pkg,false);
		UrpCmd urpcmd = reply.getCmd();
		if(urpcmd!=null){
//			 0x00: OK.
//			 0x01: Internal Memory Access Error
//			 0x02: Unknown ‘Upload Identifier’
			byte[] replydata = urpcmd.getData();
			if(replydata!=null && replydata.length>0){
				byte status  = replydata[0];
				int sizeInt = Util.getInt(urpcmd.getData(), 1);
				if(status == 0x00){
					logger.info("[Configure Upload Reply]:OK.Setting successfully"+",status:"+status+",size in bytes:"+sizeInt);
					return sizeInt;
				}else if(status == 0x01){
					logger.error("[Configure Upload Reply]:Setting failed.Internal Memory Access Error"+",status:"+status);
				}else if(status == 0x02){
					logger.error("[Configure Upload Reply]:Setting failed.Unknown ‘Upload Identifier’"+",status:"+status);
				}
			}
		}
		return -1;
	}