Tuesday, January 1, 2019

OneDrive 2019 Direct File Download URL Maker






Microsoft OneDrive Direct File Download URL Maker




<iframe src="https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ" width="98" height="120" frameborder="0" scrolling="no"></iframe>  see instructions below, if you don't know how. NOTE : For images there an extra step below.



https://onedrive.live.com/embed?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ and populate the text-box below. To proceed click "Get Download Link" button.



4. Now, Click on Get Download Link button.


Text-box will be highlighted so you can copy the full link. To copy, right-click and choose  "Copy" or simply (ctrl-c) to copy link. Note: Entire URL is automatic selected for your convenience.





 


For Images, you get a direct url
  1. Right-click on image and select Embed. The Copy the URL to embed image now gives you direct download URL, but is super long.

    So you do not need to do the above! 


15 comments:

  1. any way we can help the same step for onedrive for business ?

    ReplyDelete
    Replies
    1. simply add this command below-

      &download=1

      at the end of shared link you've generated from onedrive business. It'll directly start downloading immediately

      Delete
  2. I believe that in business version download link is available directly. If not send me the link to convert.

    ReplyDelete
  3. Hello, is there a "reverse" way to get the direct link from the "preview link" I get from a supplier?

    ReplyDelete
  4. Use this "shared link" ie https://1drv.ms/u/s!AsRPggdGwZFcjWhqmIY9K_tzLnQI?e=1o1vOQ
    the expand it here (https://www.ipvoid.com/unshorten-url/) to get expanded URL ie
    https://onedrive.live.com/redir?resid=5C91C14607824FC4!1768&authkey=!AGqYhj0r-3MudAg&e=1o1vOQ

    Change redir? to download? in URL.

    Done.

    ReplyDelete
    Replies
    1. https://metadataconsulting.blogspot.com/2021/10/2021-Pro-Tip-Convert-OneDrive-Share-Link-to-Download-Link.html

      Delete
  5. Is there any way to make direct link for https://1drv.ms/u/ links?

    ReplyDelete
    Replies
    1. Kinda. You have to the MS shortened URL (https://1drv.ms/...) to expand it first. Using https://linkexpander.com/ for example. Take that URL and use in this page.

      Delete
  6. A lot of thanks! It's realy work fine! I'm don't check for images, but for excel file it work (checked).

    ReplyDelete
  7. Did you see Onedrive has changed it's embed coding? It now looks like this... https://1drv.ms/v/c/

    ReplyDelete
  8. That is not the embed link, that is the share link

    ReplyDelete
  9. The embed code has changed! Now looks like this:
    src="https://1drv.ms/u/c/fd21d22a9be551c7/IQMHzZkwgwd0R4ihUJCtZun5AVDadY3_LBrs9f1HXpo_jjI" width="98" height="120" frameborder="0" scrolling="no"

    This has changed recently as direct downloads did work now they don't.

    ReplyDelete
    Replies
    1. Your the 2nd person to bring this to my attention, and I see if I can hack the URL API to get a download - that link does expand to
      https://onedrive.live.com/redir?cid=fd21d22a9be551c7&resid=FD21D22A9BE551C7!s3099cd070783477488a15090ad66e9f9&embed=1&migratedtospo=true&redeem=aHR0cHM6Ly8xZHJ2Lm1zL3UvYy9mZDIxZDIyYTliZTU1MWM3L0lRTUh6Wmt3Z3dkMFI0aWhVSkN0WnVuNUFWRGFkWTNfTEJyczlmMUhYcG9fampJ

      Delete
  10. Thanks, i did move it to dropbox which works. Tried everything to get it to work, not sure if this is an error on onedrive or they've removed the option for direct downloads.

    ReplyDelete