Jan 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.
https://*****-my.sharepoint.com/:w:/g/personal/********/EXhbZTdvlFRIqyBE8crSXggBW8l_yrcZFPTb5fEpAdzB3g?e=i3XdFf
Jan 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.
Jan 29 2018 05:39 AM
Jan 29 2018 07:43 AM
SolutionJan 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.
Jun 08 2018 02:59 AM
It does not seam to work for me. I always end up on the download page.
Jun 08 2018 06:20 AM
Jul 25 2018 06:18 AM
Aug 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.
Aug 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.
https://superuser.com/questions/30850/stop-pdfs-from-displaying-inside-google-chrome
Jul 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.
Jul 29 2019 03:40 PM
Aug 17 2019 10:02 PM
@Deleted
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.
Aug 18 2019 03:17 PM
Feb 04 2020 12:07 AM
Hi @Chris Webb , @matesfx and Everyone,
It seems to be not working for me,
I've shared links from my personal as well as business account and adding &download=1 or ?download=1 is not downloading the file directly.
Publicly shared file from my personal account
https://1drv.ms/x/s!Ark-bya05CiQhJo-d1hv3O3UpJEoQQ?e=M9N6Pg
Publicly shared file from my business account
any help will be appreciated.
May 19 2020 01:45 PM
For me I had to go through a few steps to get it to work - as a side note I did it with audio mp3 files not pdf or anything.
1. Right click the file and copy link
2. It should come up with a dialogue box that says "People in *domain* with the link can edit". Click on that.
3. Uncheck the "Allow Editing"
4. Click apply then copy the link it gives you
5. Add "&download=1" to the end of it and then put that in a browser url address bar and hit enter.
6. It will then produce an expanded url and when I copied the expanded url it produced it was basically a direct download file for the audio. That worked fine for me.
Best of luck.
Jun 08 2020 05:49 AM
Here's a simple download link generator for this
OneDrive 2019 Direct File Download URL Maker
Sep 26 2020 07:55 AM
OneDrive Direct Download Link Generator is a tool that will convert the Microsoft OneDrive embedded code into a direct downloadable link so one can download the shared file without LogIn to their Microsoft account.
Sep 28 2020 12:21 AM
It doesn't work for me. Is the generator for OneDrive Personal only?
Sep 28 2020 05:46 AM