Update for 2024 - Working OneDrive Direct Download Link Generator for 2024 API Hacked
Question
- Need a direct download link for single file on OneDrive.live.com ?
- Do you find the normal OneDrive "Get a link" which bring you to one drive site an show multiple files a little confusing? (especially for novices)
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.
2. 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 https://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)
The second method, using 'Get a Link' worked for me today, 28 August 2014.
ReplyDeleteWow.. that's... not a very good user experience.
ReplyDeleteThe second method, using 'Get a Link' worked for me today, 30. October 2014.
ReplyDeleteThx, last method worked for me. Hope it lasts!!!
ReplyDeleteBump for love. Download worked with the Get Link edited.
ReplyDeleteThanks. The second method still works
ReplyDeleteThank you very much , your share post very useful,
ReplyDeleteI have problem on my blogspot, then i upload video to Onedrive( skydrive) , i emble code to insert my blogspot , but then i click video file on my blog, inmediate video next page to Onedirve page , that please you tell me should be how hadling?
Thanks you, my email: nhomthun@gmail.com.
http://www.videojs.com/
DeleteYou have to embed a video player (such as vidoejs.com) and choose the source of the file from OneDrive using above trick, such as this link
https://onedrive.live.com/download?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%211010&authkey=AFo8ZQ_-qj84DEQ
Neither one is working for me any longer.
ReplyDeletehttps://onedrive.live.com/download?cid=8F99649728BEB2F3&resid=8F99649728BEB2F3%212780&authkey=AHGTayWelaWRDMA
DeleteTry this link as a test, works for me.
OMG. This work great with onedrive webdav hack https://d.docs.live.net/yourliveidcode
ReplyDeleteNow i can sync outlook calendar with live calendar
Thank you
Thanks a lot !!! Both methods are working good just now.
ReplyDeleteFirst one worked for me well, saved me a bunch of time, THANKS A LOT!!!
ReplyDeleteOneDrive do not agree direct download if the file is big. I have video of 1 at 4GB and whoever receives the link will have to register in microsoft. No good!. The little files, no problem. If anybody know a way, tell me jgarciaf@ig.com.br
ReplyDeleteI have a lot of files over 4GB and work to me but not for my friends. The little files, no problem...
ReplyDeleteAs of Sept 2014, Onedrive allows files up to 10G to be uploaded.
Deletehttp://www.pcworld.com/article/2605912/onedrive-now-allows-files-of-up-to-10gb.html
https://onedrive.uservoice.com/forums/262982-onedrive/suggestions/6421614-allow-files-of-any-size-to-be-uploaded-and-synced
Worked for me, good since the download link is removed from the OneDrive Web application in Safari on an iPad. Used the embed method, edited it to download? , removed HTML tags, and emailed to myself on the tablet. PDF file opened using "Open in". What a pain in the rear, download function worked directly in Safari last week, no longer.
ReplyDeleteYou are the man!!! Revised version worked for me and first time download from onedrive with full download speed. BIG THX
ReplyDeleteI just check the box of the file then middle click the Download button at the top so that it creates a new tab and copy that link. Always worked for me
ReplyDeleteProbably not the best method to create direct links, if you don't want to share your name. Just replace 'download' with 'redir' and you can view the uploader details.
ReplyDeleteUnfortunately are real direct links (e.g. https://pabhmw-bn1ap000.files.1drv.com/y3mJ-x4wYVR09Rfvf_8mMMFg8pTMzG_JyrZ91dNpHJkJesy7LTjN4m6pF8eQRtD_sn-S7ZgOFHAZu4FY2vw7D2RA6vK1-B0oE54tmfn75SBlenDcAoCZDY50TaIjFhNGy_7zohm13n2Au0D6Srb1r4Bqg/WMPTaskbarInstaller32.zip) temporarily limited. Except for pictures where no such limitation exists.
That is correct, thanks for the security reminder!
DeleteUnder the Information twisty folks on the OneDrive preview page for the download, the Added field will pull your full name from the Microsoft Account of the uploaded and then shared file.
Note: This has always been the case with OneDrive, you can check that Information tab with any share.
If you use the default share link with the default redir verb (https://onedrive.live.com/redir?resid=8F99649728BEB2F3%212780) you get this information too. Click on the circle-i icon will pull up the same information panel and expose user name and additional file info.
Onedrive is not a place for anonymous shares.
Perfect advice, works like a charm.
ReplyDeletethanks ...
ReplyDeleteThe first method presented (extract the address from the html embedding code) worked for me at the time of this writing.
ReplyDeleteVeryyyyyyyyyyyyyyyy Nice the above 1st trick is 100% working... thanks a lot, carryon bro
ReplyDeleteBut wget of files and folders zipped by OneDrive for downloading is not possible
ReplyDeletewget cid-etcetc.users.storage.live.com/downloadfiles/V1/Zip?authKey=Numbers
Error 405: Method not allowed
it works very good, but I had problems with the direct processing of a textfile. Very Strange, the ftell php command runs out of control, I guess the line end isn´t accepted well. Now, I first copy the file from onedrive to my Webspace Folder and then process with php, this works absolutely fine
ReplyDeletework for me
ReplyDeleteYou have to delete this shit too: &authkey=AHGTayWelaWRDMA
ReplyDeleteThanks.
ReplyDeleteSwapping redir? for download? works perfectly, thanks!
ReplyDeleteThanks
ReplyDeleteThanks!! This is a fix for a seeming simple and obvious use case to get a link for let people download any file.
ReplyDeleteI can't believe OneDrive interface does not make it easy for people to do this.
it's verry usefull thanks
ReplyDeleteIs there a way to get a link for direct download without giving the user access to all your other files in your onedrive account..?
ReplyDeleteThanks a lot...
uu
ReplyDeletewhich other way can i get embed link if not one drive.
ReplyDeletesomeone please help.
i need another way not onedrive.
thanks
https://send.firefox.com/ this is a new anon service to send files
Delete