Microsoft OneDrive Direct File Download URL Maker for old links
<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.
Microsoft OneDrive Direct File Download URL Maker for new 2024 API
A new OneDrive 2024 API is being rolled out across geographic regions around the world and this is how to deal with it.
1. Mouse over item in OneDrive, and click ... and choose Embed, to get embed code.
This is what the link will look like
https://1drv.ms/u/s!AsRPggdGwZFcjVEiJ1LvYyO1qZm9?embed=1
3. Copy and paste this into a new tab in your preferred browser.
This is area is known as the address bar.
4. This may open an intermediate page that looks like this image below.
If you see this page, you must click on the link below the zip folder. Specifically, the yellow highlighted under the link touchx64v.1...
5. Once you see the OneDrive preview page to download the file, copy the URL in the browser address bar. Keyboard shortcut to copy (CTRL-C). Make sure you selected the entire link. Keyboard shortcut to Select All (CTRL-A).
If you copy into Notepad this is how the newly generated link by new 2024 API looks like as generated by new OneDrive 2024 API.
https://onedrive.live.com/?authkey=%21ACInUu9jI7Wpmb0&cid=5C91C14607824FC4&id=5C91C14607824FC4%211745&parId=5C91C14607824FC4%21609&o=OneUp
6. Paste (Ctrl-V) browser address bar link into New 3.1 step above (scroll to top of page), under title Microsoft OneDrive Direct File Download URL Maker for old links instructions and paste link there.
Then continue to step 4. Now, Click on Get Download Link button. above.
7. Done. Share your download link.
Another 1st by metadataconsulting.ca 😺 💫
Alternates, this did not work
“You can also create a public download link for a file in OneDrive by:
- Selecting the file or image and clicking "Share" on the top
- In the link settings, setting the link as "Anyone with the link" and "Allow editing"
- Clicking "Apply"
- Clicking "Copy"
- Adding the text "&download=1" to the end of the URL “
For Images, you get a direct url
Using OneDrive as a CDN
Bonus : For images, read Using OneDrive as a Content Delivery Network (CDN) plausibility post.
- 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!
You can also remove everything after the ?
https://wyztwg.by.files.1drv.com/y4mucnXH4ZIfty_kXg9nYvgjHKJMw-XkCLfcBvI7ipNMNidsCjSMyNcw4cFyNlB0WKO9M-VNquASIbFp9DlTJPrjpqk2ex4GmzoVcA_2OOAp1G1ZiGK_U_UPjmfTj_hmtd41HascgLLyjTbEKJlDzXfFhyOXPngJ_ovCRPxL14pt1B0er3HaJvRxjkpru0z85Wiua9JhMP-BvbADeKnISGTqQ?width=1082&height=539&cropmode=none
https://wyztwg.by.files.1drv.com/y4mucnXH4ZIfty_kXg9nYvgjHKJMw-XkCLfcBvI7ipNMNidsCjSMyNcw4cFyNlB0WKO9M-VNquASIbFp9DlTJPrjpqk2ex4GmzoVcA_2OOAp1G1ZiGK_U_UPjmfTj_hmtd41HascgLLyjTbEKJlDzXfFhyOXPngJ_ovCRPxL14pt1B0er3HaJvRxjkpru0z85Wiua9JhMP-BvbADeKnISGTqQ?width=1082&height=539&cropmode=none
to
Using OneDrive as a CDN
Bonus : For images, read Using OneDrive as a Content Delivery Network (CDN) plausibility post.