Create Folders to upload images/media/flash files

Last post 08-03-2006, 5:15 PM by smita_swaika. 3 replies.
Sort Posts: Previous Next
  •  08-03-2006, 4:30 PM 21528

    Create Folders to upload images/media/flash files

    Is there any way to allow to create folders on Image Server using cute editor to upload images ???
  •  08-03-2006, 4:52 PM 21530 in reply to 21528

    Re: Create Folders to upload images/media/flash files

    smita_swaika,
     
    How do you set the image Gallery, File Gallery, Flash Gallery path?
     
    If you set those path programmatically, you can do some things like this:
     
    void SetUploadsFolder(string folder)
     {
          string phyfolder=Server.MapPath(folder);
          if(!Directory.Exists(phyfolder))
              System.IO.Directory.CreateDirectory(phyfolder);

       
          //see security.config
          Editor1.Setting["security:ImageGalleryPath"]=
          Editor1.Setting["security:MediaGalleryPath"]=
          Editor1.Setting["security:FlashGalleryPath"]=
          Editor1.Setting["security:FilesGallaryPath"]=
           folder;
     }

    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

  •  08-03-2006, 5:10 PM 21534 in reply to 21530

    Re: Create Folders to upload images/media/flash files

    yes I set like this  Editor.SetSecurityGalleryPath(mediaUploadPath);

    But my question is the image upload  popup screen allows to upload files but not folders. And Our users need to upload folders as well. So is that possible using cute editor

  •  08-03-2006, 5:15 PM 21535 in reply to 21530

    Re: Create Folders to upload images/media/flash files

    I set the paths as  Editor.SetSecurityGalleryPath(mediaUploadPath); But using Cute Editor Image Upload Popup..it alows to upload files from your system or network but doesn't allow to upload folders.
    Our users need to upload folders as well. Is there any way to create and upload folders on media server using cute editor ???



View as RSS news feed in XML