File upload --- doesn't

  •  05-09-2006, 7:02 PM

    File upload --- doesn't

    This is such a slick editor!
    But... I'm missing something.
     
    I'm trying to upload an image to my site.
    I have set the permissions in my upload directory to RW.
    I'm using (I think) CuteEditor_for_NET5.2
     
    The HTML tag is:
    <CE:Editor 
    id="body_HTML" 
    EditorWysiwygModeCss="../css/hp2.css" 
    AutoConfigure="Full_noform"
    SecurityPolicyFile="Admin.config" 
    text='<%# dsPage.FieldValue("body_HTML", Container) %>' 
    TextMode="MultiLine" 
    runat="server" 
    />
     The SecurityPolicyFile (~/CuteSoft_Client/CuteEditor/Configuration/SecurityAdmin.config) says, among other things,
     <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    ...
     <security name="MaxImageSize">20000</security>
    ...
     <security name="ImageGalleryPath">~/assets</security>
    ...
     <security name="MaxImageFolderSize">102400</security>
    ...
     <security name="AllowUpload">true</security>
     <security name="AllowModify">true</security>
     <security name="AllowRename">true</security>
     <security name="AllowDelete">true</security>
     <security name="AllowCopy">true</security>
     <security name="AllowMove">true</security> 
     <security name="AllowCreateFolder">true</security>
     <security name="AllowDeleteFolder">true</security>
     <security name="ImageFilters">
      <item>.jpg</item>
      <item>.jpeg</item>
      <item>.gif</item>
      <item>.png</item>
     </security>
    ...
     <security name="filenamePattern">^[a-zA-Z0-9\._-]+$</security>
    </configuration>
    Everything looks promising. When I click the "Insert Image" button, I'm seeing the correct directory and when I try to upload a new image it says "uploading" but then it says "Unable to upload file".
     
    If I rollover the upload button, I now see following hint.

     
    What have I done to deserve this?
     
    Thanks
     
    Doug
     
     
View Complete Thread