Donwloade component does not identify the type of file to be downloaded

Would there be any way to find out the type of file that I’m going to download through the url? My app is to send files via wifi, so the url that will have the file to download and in this format .(http://192.168.0.104:9999/) it can contain any type of file that the person chooses ( .mp4,.png,.apk etc…) The kodular download component does not allow me to identify if I selected a video (.mp4) or a photo (.png) so it only saves in a format just in case what is in (save file as).