I am trying to download file from folder but its giving me the wrong format file which is empty. I am explaining my code below.
downloadFiles = async (res) =&