Sometimes you want the user to be able to just download a file you point to from your Dynamic Web CMS homepage. What you need to do is simple:
- Prefix your filepath with:
/Admin/Public/DWSDownload.aspx?File=
- If your file is here:
/Files/files/myFile.txt
- Resulting URL:
/Admin/Public/DWSDownload.aspx?File=/Files/files/myFile.txt
escape()the file path.
No comments:
Post a Comment