01-29-2018 02:08 AM
01-29-2018 02:08 AM
I use "Get Link" button and it gives me a link (like below) which will open the file online. How can I get a link for direct file download? Thanks.
01-29-2018 03:25 AM
Was expecting to see some controls, but I don't see them either when using Azure B2B guest access. The new secure sharing feature for OD/SPO does give me the control on top. Workaround for me is to remove the last part of the URL, which gives me the library/folder view and there I have the option to select the file and click on the download button.
01-29-2018 05:39 AM
01-29-2018 07:43 AMSolution
01-29-2018 07:25 PM
Christopher's method works like a magic. It also works with "Anyone with the link" and "People in my org" mode. Simply add "&download=1" to the end of link.
Thanks Christopher and other people here for your replies.
06-08-2018 06:20 AM
08-23-2018 09:18 AM
I am in the same. Can't seem to get it to work on PDFs which is the main file type I need.
08-23-2018 09:31 AM
That's because PDF's are opening directly in your browser from the location via a plugin. If using chrome you can use this method to cause them to download, but it's a browser thing, not a download / server thing, you're actually downloading it, it's just your browser picking it up, so you can either click the download link they provide in the plugin but that's the only way to get pdf's to download outside of zipping them etc.
07-29-2019 03:25 PM
@Chris LoI wanted to get a GIF file stored on OneDrive to be shown on another site. I right clicked the file and chose "view online", then right clicked the GIF in the browser and chose "copy image location" which gave me a long URL ending with... CWDi2g/lockar.gif?download&psid=1 where I then removed everything after "lockar.gif".
That worked for me.
07-29-2019 03:40 PM
08-17-2019 10:02 PM
Thank you so much, it worked for me. In the past 1 year, my users have trouble downloading compressed folders stored on Onedrive. You can read this problem here: https://www.yannickborghmans.com/2018/05/19/onedrive-some-files-werent-downloaded/
The problem that people encounter is trying to download a file in the compressed folder and that's when an error occurs. I tried many ways to create direct links from Onedrive like using the embed code but it doesn't work.
08-18-2019 03:17 PM