Use this command to export the FortiNDR top queries as a zip file with password.
execute export top-queries {disk|scp|ftp|tftp} <filenmame-to-be-saved> <server>[:ftp port] <user-name> <password>