SharePoint direct download url

Copper Contributor

This is a hint if you struggel with the direct dowload url from SharePoint.

 

Searching the internet I found out that I should add &download=1 after the share url, which seem to work if I copied the link when creating the share, but if I forgot to copy the link and afterwards went to manage access and then copied the link, it didn't work.

 

After a while I found out that the initial created URL was different that when you manage access - here is an example:

 

https://xxx.sharepoint.com/:u:/s/RMM/EWePlnroT7FFm5K5R9vNVFEBkj27TjQbL_SS9akz3RMgog?e=BXk2JI (link copied just after using the share button)

https://xxx.sharepoint.com/:u:/s/RMM/EWePlnroT7FFm5K5R9vNVFEBkj27TjQbL_SS9akz3RMgog (link when managing access)

 

As you can see, the initial link has added ?e=xxxxxx, so if you don't work with programming you probably don't know that a questionmark ? after the url is the beginning of variables and the ampersand & seperates variables.

 

I don't know what the e= variable means, but in this case it dosen't matter.

 

Conclusion:

If you want to create a direct download url for SharePoint, then you need to add the download variable and set it to 1, but depending of what your url looks like, when you copy it, you either have to use one of the two:

 

 

Your url dosen't contain a questionmark - add ?download=1

Your url does contain a questionmark - add &download=1

 

Hope this guide helps some of you out there.

0 Replies