HELP: Getting Error "Cannot upload the file. File format is not allowed." on a File Rename

Last post 10-21-2009, 8:04 AM by cutechat. 4 replies.
Sort Posts: Previous Next
  •  07-30-2009, 1:16 AM 54390

    HELP: Getting Error "Cannot upload the file. File format is not allowed." on a File Rename

    I have my own implementation of the FileStorage.
     
    When I attempt to rename a file, I get "Cannot upload the file. File format is not allowed."
     
    The editor is not calling the RenameFile method on my FileStorage class.
     
     
  •  08-10-2009, 12:31 AM 54595 in reply to 54390

    Re: HELP: Getting Error "Cannot upload the file. File format is not allowed." on a File Rename

    Any ideas?
  •  10-21-2009, 5:58 AM 56547 in reply to 54390

    Re: HELP: Getting Error "Cannot upload the file. File format is not allowed." on a File Rename

    Serriously, I'm starting to get annoyed here.
     
    It's been 3 months and still no answer to this issue.  I even submitted a question via Support and haven't heard anything.
     
    If you need more information, let me know.  I will provide as much as possible.
     
  •  10-21-2009, 7:04 AM 56553 in reply to 54390

    Re: HELP: Getting Error "Cannot upload the file. File format is not allowed." on a File Rename

    Hi,
     
    This error message is not relative to the FileStorage class.
     
    What file are you uploading ?
     
    Is the file extension be added into the security configuration file ?
     
    for example , the config file specify this :
     
     <security name="ImageFilters">
      <item>.jpg</item>
      <item>.jpeg</item>
      <item>.gif</item>
      <item>.png</item>
     </security>
     
    Do you get problem when upload this kinds of file ?
     
    Regards,
    Terry
     
  •  10-21-2009, 8:04 AM 56557 in reply to 54390

    Re: HELP: Getting Error "Cannot upload the file. File format is not allowed." on a File Rename

    Hi,
     
    Editor also check the file extension before call the RenameFile method.
     
    Regards,
    Terry
     
View as RSS news feed in XML