[ARCHIVED] Direct File Download on Content Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2021
12:42 PM
Ahoy,
I need to be able to force a direct download of a file on a Canvas content page without it sending them to a different page first. It's very important 1) not to have them navigate away from this page, even if it does open in a new window; 2) ensure they have a local copy. I don't care about them being able to preview on the page or not (i.e. I know where that feature is).
The solution to force the download that I found in the community said to delete the "?wrap=1" in the html. This didn't work for me.
Cheers.
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2021
04:54 AM
Hi,
you could achieve this in the html with a link of this format this: https://school.com/courses/11060/files/1796109/download, combined with target="_top".
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.