AgentInstance agentInstance = (AgentInstance)qashProperties.getActiveAgent(new Integer(agentID.toString()));
if (agentInstance==null)
throw new Exception("Unknown agentID");
// send the zip file, and retrieve the associated zip ID
try {
setProperty(zipID.toString(),agentInstance.ZIPSEND(zipFile.toString()));
}
catch (Exception ex) {
printError(ZIPSEND,"Problem sending zip file to agent ("+ex.toString()+") :",currToken);
}
}