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 textbox below, click "Get Download Link" button.
4. Click on Get Download Link button.
Textbox 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.
How to get a Microsoft OneDrive Embed Code (see instructions and images below)
- Goto OneDrive (https://onedrive.live.com/)
- Upload you file
- Right-click to "Embed" your uploaded file
- Click Generate HTML Button.
- Copy and Paste HTML Code to Notepad
- Copy the all the embed code ie. <iframe src="embed link"... >...</iframe> and paste into textbox here
Click Get embed link button to get the embed link and copy (ctrl-c). - Paste (crtl-v) the file link into OneDrive Embed Link textbox above and click "Get Download Url" button. Proceed as usual.
- Right-click and "Copy" or simply press ctrl-c keys to copy the link to your clipboard.
- Now Paste (ctrl-v) the OneDrive Share Direct Download Link in emails to share!
- Done!
API Change for Images
- Right-click to "Share" your uploaded file
- Pop-up will appear and choose "Get a link", click "Create link" dark blue button.
- Right-click and "Copy" the highlighted link. Updated June 07, 2016 API change.
- You should get a similar "shortened" url as this
https://1drv.ms/i/s!AvOyviiXZJmPlSc1CjtKuwc_gqVu
Paste into http://www.linkexpander.com/ and copy that URL.
- Resulting url looks like this https://onedrive.live.com/redir?resid=8F99649728BEB2F3!2727&authkey=!ADUKO0q7Bz-CpW4&ithint=photo%2cjpg
- Paste link into OneDrive Share Link textbox and click "Get Download Url" button.
- Right-click and choose "Select all" and "Copy".
- Paste the OneDrive Share Direct Download Link in emails instead.
"Shorten link" was a feature in the old API windows now gone, June 07, 2016.This is done by default now.- OR for image only
- Updated June 07, 2016 API change! Right-click Embed now gives you direct download URL! So you do not need to do the above!
Google Chrome Warning: Very large PDF files do not preview in Chrome
You have to save the file first then open in Adobe Acrobat/Reader.
- https://onedrive.live.com/redir?resid=8F99649728BEB2F3!2737&authkey=!ACnO8wuwLQ07PqI&v=3&ithint=photo%2cgif
OneDrive for Business File Share Link is the download link by default;)
Bonus : For images, read Using OneDrive as a Content Delivery Network (CDN)