write to virtual directory?

Last post 02-23-2006, 10:27 PM by zhangz. 2 replies.
Sort Posts: Previous Next
  •  02-23-2006, 3:33 PM 16343

    write to virtual directory?

    Hi,
     
    We are having this issue that we try to use the cuteeditor on 4 load balanced .net websites , and use another single file repository (FTP server) to keep the files.
    I checked the questions in the support forum, it seems that people ever asked the question on UNC, virtual directory, etc.
    I tried to follow the answer on http://www.cutesoft.net/forums/ShowPost.aspx?PostID=3413 . It does not work
     
    So here is my questions:
    1: Will this tool work for my situation, read/write to virtual directory on another computer?
    2: How to check if the file/driectory exists in the virtual directory, using filesystem object?
    3: Could I give every user their own directories (image/file/template), where do I change the setting?
     
    Thanks,
     
    Zhang
  •  02-23-2006, 3:58 PM 16346 in reply to 16343

    Re: write to virtual directory?

    Zhang,
     
    >>1: Will this tool work for my situation, read/write to virtual directory on another computer?
     
    Yes.
     
    >>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.
     
    >>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.
     
     
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-23-2006, 5:30 PM 16353 in reply to 16346

    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 as RSS news feed in XML