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...
- AnonymousJan 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
Ben Geerdes
Jun 08, 2018Copper Contributor
It does not seam to work for me. I always end up on the download page.
jrujones
May 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.