Creating direct file download link from a public file share
Creating direct download link for public shares
Public file shares by default opens a landing page, from where user can download the shared file. Sometimes it is preferable to have a direct downloadable links. By making minor changes to the share link, a direct downloadable link can be created.
By default the public share link looks like this:
In the above link, replace the string "ui/core/index.html?mode=single&" with "app/websharepro/share?" to the URL and remove the mode parameter.
Making these two changes the above link becomes:
Now, this link can be can be used to download the files directly from browser, download managers or Linux utilities such as wget.