Download document using original filename

Posted by Community Admin on 03-Aug-2018 20:01

Download document using original filename

All Replies

Posted by Community Admin on 16-Jul-2013 00:00

We are using Sitefinity to host an ASP.Net app we are writing.  We are successfully using the api to upload and create documents within a library.  For download, we planned to use the document UrlName and version to generate the specific URL for direct downloading and not need to create a download handler.

When creating the document, can we store the original filename in the document.UrlName property already URL encoded, so that when a download link is generated, it will be based on the original filename instead of a lowercase url with dashes in place of spaces and other non-alphanumeric characters?

Will SF allow us to do this without the need to write our own download handler?

Thanks...Bob Baldwin
Trabon Group

This thread is closed