Re: write to virtual directory?

  •  02-23-2006, 5:30 PM

    Re: write to virtual directory?

    Thank you Adam for the reply. Since this is feasible, I would go spending time to research on this.
    A couple of questions on your reply:
     Adam wrote:
    Zhang,
     
    >>1: Will this tool work for my situation, read/write to virtual directory on another computer?
     
    Yes.
     
    I understand I have to create the virtual, adding FilesGalleryPath as ~/Uploads/Users, etc. and adding "identity impersonate" in web.config. Is there anything else I need to do to set the virtual access?
     
     
    (I got error that "Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'A required privilege is not held by the client.")
     
    Could you please tell me how to resolve the "identity impersonate" problem?
     
     
    >>2: How to check if the file/driectory exists in the virtual directory, using filesystem object?
     
    You have to check the file/driectory exists by writing your own code.
     
    This is hard part for me, do you have example code that I can use to check files/folders in the virtual directory? and create folders?
     
     
    >>3: Could I give every user their own directories (image/file/template), where do I change the setting?
     
    Yes.
     
    Please check this example:
     
     
    Hope it helps.
     
     
     
     Thanks for the help.
     
     
View Complete Thread