Insert Image, Rename Folder and File, Need HELP.

  •  07-15-2009, 5:41 PM

    Insert Image, Rename Folder and File, Need HELP.

    I implemented my own FileStorage class that stores everything in the database.
     
    Right now the Editor validates that the file is the correct type (.jpg, etc..) when the user uploads a file.  However, what I do is take that filename, strip the extension off and set the Title property in the database.   When I try to rename the file, it appers to be validating the extension and won't let me rename the file in the database (which is actually renaming the TITLE and not the filename) because it's missing .JPG or what ever extension is necessary to pass the validation.
     
    I want it to continue to validate on UPLOAD, but not to validate on a Rename. 
     
    I would also like to turn off the validation for Folder Create/Folder Rename.
     
    Is there anyway to do that?
View Complete Thread