Search code examples
javascriptjqueryuploadify

uploadify file object structure


Can anyone tell me the structure of the uploadify file object (used by methods such as onSelect and onUploadSuccess). I have scoured the official documentation but with little success; although I know I can access file.name from the documentation (and after a bit of trial and error I know I can also get file.size), I have no idea what other properties I can get my hands on.

Can anyone shed any light on this? Many thanks.


Solution

  • You can do console.log(file) in your onUploadSuccess and find out all the properties of file object yourself in console.