I think this topic will help you in this case.
https://forum.uipath.com/t/download-file-explicitly-from-sharepoint/230647