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
michel_lobato
Oct 29, 2021Copper Contributor
Well... im back here again to ask something else about this direct link. I came to this forum to know how to get a direct link to files hosted at onedrive for business (.xlsx files in my case) as a part
of a solution to automatically load this files into an BI application. But other colegues warned me that an onedrive direct link changes periodically. In my tests this dont happened. So, anyone knows if this is true? And if this is true is there a way to avoid this? Thanks for the help!
of a solution to automatically load this files into an BI application. But other colegues warned me that an onedrive direct link changes periodically. In my tests this dont happened. So, anyone knows if this is true? And if this is true is there a way to avoid this? Thanks for the help!