Forum Discussion

Chris Lo's avatar
Chris Lo
Brass Contributor
Jan 29, 2018
Solved

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/personal/********/EXhbZTdvlFRIqyBE8crSXggBW8l_yrcZFPTb5fEpAdzB3g?e=i3XdFf

  • Anonymous's avatar
    Anonymous
    Jan 29, 2018
    Well 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

33 Replies

  • 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. 

Resources