Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gabriel 6 posts 26 karma points
    Oct 19, 2010 @ 17:52
    Gabriel
    0

    Media upload and Document

    Hi,

    I'm trying to create a folder with 

    Media m = Media.MakeNew(dirInfo.Name, folderType, User.GetUser(0), nodeId);

                    System.IO.Directory.CreateDirectory(System.Web.HttpContext.Current.Server.MapPath("~\\media\\" + m.Id.ToString()));

    Unfortunately, the folder is not shown in the tree under node with nodeId.

    From what I see in database, nodeObjectType is different and, document created during Media.MakeNew has versionId null, instead of some value.

    Can you point me further?

    Thank you

     

     

Please Sign in or register to post replies

Write your reply to:

Draft