More in this section

Forums / Developing with Sitefinity / Creating docs libraries on fly and download inside by public UC

Creating docs libraries on fly and download inside by public UC

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    16 Feb 2006
    15 Jun 2008
    Link to this post

    Could you teach-me to download one user content inside one User library created on the fly.
    I have created one UserControl to download inside one defined folder. I would download inside one library or use this external folder as library location to no surcharge my db.

    this is the location of my folder
    outputpath = rootpath + \\contents\\tech;

    How I can to create one UserFolder linked to Userlogin on fly.
    How to link to this library by one Public side UserControl and allow to download inside

    Any help are welcome, Regards

  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    23 Jun 2008
    Link to this post
    Hello Pierre,

    Please take a look at the MSDN article Introduction to Membership. It is shows how to work with membership providers and the standard ASP.NET Login controls.
    Once you are logged in, you could upload your items to the file system, as explained in File Upload with ASP.NET article.
    For uploading in a Sitefinity Library, you have to use LibraryManager and UploadFile() method.

    I hope the provided information is helpful.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered