setErrorCode("4108"); // !?! Put new error code in AND MAKE SURE THIS RETURN WORKS //return; $returnMessage = "Failed!"; } else { error_log("Moved the uploaded file to ". $fwfile); error_log( "guids -> " . print_r($driveGuids,true) ); error_log("Calling update_drive_firmware_by_image(user, guids, " . $fwfile. ");"); //error_log('Setting the timeout to NONE'); if(get_snmp_audit_logging_enabled($user) == '1') { error_log("send_snmp_audit_logging_code_update_trap"); send_snmp_audit_logging_code_update_trap($user, 2, "A library or drive code load has been initiated from the Web UI"); } $opGuid = update_drive_firmware_by_image($user, $driveGuids, $fwfile); } } else { error_log("no upload!"); } } ?>