2 Replies Latest reply on Apr 24, 2007 7:18 AM by susilosaja

    FileReference : Checking binary type

      Hi ,

      I am doing upload code using FileReference.
      I want users to only be able to upload images , so I use FileFilter object to do that.
      But only using FileFilter can't guarantee that I will get an image.
      For instance, the user could change the extension of an exe file to .jpg, and FileFilter will still allow it.

      Any clues on how to get around this problem ?