does discourse have any plugin or any component where user can upload files , Keep it safe and share links of those files , more like microsoft sharepoint ??
Not that I’m aware of.
Discourse obviously maintains uploads, but there is no proper file API and the reverse proxy should really be optimised for web app use, not big file transfers.
For large files and complex sharing scenarios, you are better off using a dedicated cloud service.
This is probably best discussed on https://meta.discourse.org.