         loading("Transfer complete, image flash in progress. DO NOT REMOVE the SFP!");
                result = await flashImageMtd(port, image, baudrate,
                    (err) => {
                        showError(err);
                        console.log(err);
                    }
                );

                if (result) {
                    showSuccess("Flash completed, now you can remove the SFP");
                }
            }
        });
    };
</script>
