How is the uploaderTemp directory created

Last post 10-11-2009, 11:35 PM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  10-09-2009, 1:58 PM 56283

    How is the uploaderTemp directory created

    Hi,
     
    I know that when a temp directory is defined the control will create the folder automatically when it's instaciated however I'm getting confused as to HOW it's creating the folder.
     
    I currently have the temp directory set to a folder that DOES NOT contain security for NETWORK SERVICE however when the control creates the UploaderTemp directory it seems to have been created by the NETWORK SERVICE account.  How is this possible?  Is there something that I'm missing here relating to the creation of this temp directory?  Thanks very much for any advice.
     
    -J
  •  10-11-2009, 11:35 PM 56327 in reply to 56283

    Re: How is the uploaderTemp directory created

    Hi,
     
    If the specified temp directory does not exists, the uploader will create it in Render method.  using System.IO.Directory.CreateDirectory();
     
    So there's nothing special. You can try to use your code to create another folder and check the difference.
     
    Regards,
    Terry
     
View as RSS news feed in XML