2

I'm looking for a way to let users download a file directly, without having to click the "Open" button.

https://veodin2.sharepoint.com/:u:/g/Sales/EZdR8fpZ66NNqPvMdgN0gNYBXfi5vCRhMeKoPnkKuGJ4PQ?e=SFw9sv

It seems like other answers are not about public files / SharePoint Document Libraries only "Personal".

1
  • Did you find any way to resolve Direct download link for public file SharePoint if yes please let me know. I am facing the same issue. Thanks in advance. Commented Jun 25, 2020 at 7:14

3 Answers 3

2

Original path:

https://veodin2.sharepoint.com/:u:/g/Sales/EZdR8fpZ66NNqPvMdgN0gNYBXfi5vCRhMeKoPnkKuGJ4PQ?e=SFw9sv

Replaced with download:

https://veodin2.sharepoint.com/:u:/g/Sales/EZdR8fpZ66NNqPvMdgN0gNYBXfi5vCRhMeKoPnkKuGJ4PQ?download=1

I replaced everything after the last ? with download=1. Then the link can be used in my code to pull the file down.

Note: This will work for .doc, .xlsx & .zip

0

Change your link directly to the file in the library:

https://veodin2.sharepoint.com/Sales/Shared%20Documents/SlideProof%2FVeodinSlideProof_Setup_v4.msi

2
  • This will work for authorized user, but not anonymous
    – Cilvic
    Commented Mar 23, 2018 at 14:58
  • This would be more useful if you tell how you changed the URL in the question to become this URL. That URL is full of scrambled characters and yours is actual english words and slashes.
    – Lee Meador
    Commented Nov 14, 2019 at 23:51
0

If you append &download=1 to the end it will redirect you to the direct link.

Your link would become:

https://veodin2.sharepoint.com/:u:/g/Sales/EZdR8fpZ66NNqPvMdgN0gNYBXfi5vCRhMeKoPnkKuGJ4PQ?e=SFw9sv&download=1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.