1-888-365-2779
+1-888-365-2779
Try Now
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
    Registered:
    16 Feb 2006
    15 Jun 2008
    Link to this post
    Hi,

    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
    string
    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
    Registered:
    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,
    Georgi
    the Telerik team

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