More in this section

Forums / General Discussions / Download document using original filename

Download document using original filename

1 posts, 0 answered
  1. Bob
    Bob avatar
    10 posts
    18 Apr 2012
    16 Jul 2013
    Link to this post
    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
1 posts, 0 answered