Forum Discussion
Chris Lo
Jan 29, 2018Brass Contributor
Get direct download link of a file in OneDrive for Business
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/perso...
- DeletedJan 29, 2018Well I just took a logical guess and it totally worked lol.... so do this.
Use "Get link", then use "People with existing access" to get the direct link to the file.
Then, the url will be direct path to https://org.sharepoint.com/personal/user_org/folder/filename.ext?d=oiuqjaweorihjlkj
Now, just remove everything after the ? and put in download=1 and magic happens.
https://org.sharepoint.com/personal/user_org/folder/filename.ext?download=1
Deleted
Jan 29, 2018Well I just took a logical guess and it totally worked lol.... so do this.
Use "Get link", then use "People with existing access" to get the direct link to the file.
Then, the url will be direct path to https://org.sharepoint.com/personal/user_org/folder/filename.ext?d=oiuqjaweorihjlkj
Now, just remove everything after the ? and put in download=1 and magic happens.
https://org.sharepoint.com/personal/user_org/folder/filename.ext?download=1
Use "Get link", then use "People with existing access" to get the direct link to the file.
Then, the url will be direct path to https://org.sharepoint.com/personal/user_org/folder/filename.ext?d=oiuqjaweorihjlkj
Now, just remove everything after the ? and put in download=1 and magic happens.
https://org.sharepoint.com/personal/user_org/folder/filename.ext?download=1
- michel_lobatoSep 14, 2021Copper Contributor
THANK YOU! It worked for me like a charm. For those who are looking for a solution to get a direct link of onedrive to work with Qlikview (like me), this solution was the light at the end of the tunnel .
Thank you very much for your solution, it was simple and smart! And still works in 2021!
- Sep 14, 2021You're welcome :p.
-The anonymous guy.
- sabarishnJun 23, 2021Copper Contributor
Doesn't work. It asks for sign-in
- freefilescrJul 08, 2021Copper Contributor
sabarishn right click on the file and copy the link then open a private tab on your browser then paste and go afte that click on download then imediately cancel the download and go to the downloads from the browser menu then you will see a link on below of your file name copy it and boom this is your direct link
and also visit my website: https://freefilescr.com
- ljfaucherJan 22, 2021Copper Contributor
MVP - thanks for this simple solution that seems to elude most replies, including Microsoft's, on similar posts!
- MarkPahuljeOct 22, 2020Brass Contributor
OneDrive Direct File Download URL Maker is a tool that will
convert the Microsoft OneDrive embedded code into a direct downloadable link.
The link can be shared with anyone, they don't have to have a Microsoft account.
I discovered and created this tool back in 2004.
How this Tool works:-- Just Copy the Embedded code from your OneDrive. An example
<iframe src="https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ" width="98" height="120" frameborder="0" scrolling="no"></iframe> - Paste the copied link into ###OneDrive Direct File Download URL Maker### to convert
- Click on Get Download Link button
- Then the Direct Download link will appear in the box bellow, so click on the copy button.
- Just Copy the Embedded code from your OneDrive. An example
- angela83Oct 22, 2020Copper Contributor
Adding &download=1 at the end works great for Business accounts but it doesn't work for Personal Accounts. Is there another way to make it downloadable for Personal Accounts?
- Chris LoJan 30, 2018Brass Contributor
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.
- Charles ColeJul 25, 2018Copper ContributorYou da real mvp
- Ben GeerdesJun 08, 2018Copper Contributor
It does not seam to work for me. I always end up on the download page.
- jrujonesMay 19, 2020Copper Contributor
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.