Do you mean you want to open the file on the browser when the visitor clicks the download button? It is possible by setting the option “Open in browser” from Downloads > Settings > General Tab.
I think you can utilize the master download link for your use case. You can copy the master download link of a package from the ‘Al Files’ admin page. Just click the mini download icon under the package name.
You can also use this URL format to share the direct download link https://site.io/download/my-file/?wpdmdl=PACKAGE_ID But this will work only when the package has no locks or restrictions.
Note: Deleted duplicate replies in this ticket. Your old reply was marked as spam for an unknown reason. I have unspammed it.
One more question on this. I noticed that the direct download link https://site.io/download/my-file/?wpdmdl=PACKAGE_ID method will directly download the file.
Is there a different format for this URL that would not force a download, but open it in a browser tab instead? e.g. a View Link format?
Related, I see there is an ‘Open in Browser‘ option in the admin, but this doesn’t open in a new tab, it overtakes the current tab, which is not desirable. It’d be nice if this setting had an option to open the link in a new tab. Is there a way to do that?