Uploading files to different directory

Last post 01-13-2010, 2:01 AM by KenChen. 2 replies.
Sort Posts: Previous Next
  •  01-04-2010, 1:01 AM 58020

    Uploading files to different directory

    Dear Support team,
     
    We have recently purchased cuteEditor, And wanted to integrate with existing project.
    Currently we seperate files and contents which are uploaded by users with project itself.
     
    Assuming that my project is http://www.abc.com/application , we have seperate virtual directory for content http://www.abc.com/content.
     
    could you pls let me know how i can set the paths both physical and virtual to CuteEditor.
     
    Here are the details
    1) .NET 2.0
    2) win 2003 server
    3) licenced CuteEditor 6.4
    4) c#
     
     
  •  01-04-2010, 3:22 AM 58022 in reply to 58020

    Re: Uploading files to different directory

  •  01-13-2010, 2:01 AM 58135 in reply to 58020

    Re: Uploading files to different directory

    HI tanveerahmed_786 is not online. Last active: 01-05-2010, 5:21 PMtanveerahmed_786
     
    you can try.
                            string str = Request.ApplicationPath + "/uploads/" + strlmname;
                            string path = Server.MapPath(@"uploads\" + strlmname);
                            if (!Directory.Exists(path))
                            {
                                Directory.CreateDirectory(path);
                            }
                            this.Cuteeditor1.SetSecurityImageGalleryPath(str); 
View as RSS news feed in XML