title: jQuery-File-Upload where is the file data when pre processing? http://blueimp.github.io/jQuery-File-Upload/
body: <p>I've started playing around with the <strong>excellent</strong> <a href="http://blueimp.github.io/jQuery-File-Upload/" rel="nofollow">http://blueimp.github.io/jQuery-File-Upload/</a> file upload project.</p>
  
  <p>From the File Processing Options section of the <a href="https://github.com/blueimp/jQuery-File-Upload/wiki/Options" rel="nofollow">documentation</a> it seems that jquery.fileupload-process.js will let me parse and even modify the file's binary data (files array - with the result of the process applied and originalFiles with the original uploaded files)</p>
  
  <p>(to parse, or append to it or encrypt it or to do something to it)</p>
  
  <p>but for the life of me I can't seem to figure out where is the actual file data within the array so that I can pre-process it before it uploads.</p>
  
  <p><strong>What part of the data array has the "something.pdf" binary file in it?</strong> so that I can parse and transform it before upload?</p>
  
  <pre><code>    //FROM: jquery.fileupload-process.js
      //The list of processing actions:
      processQueue: [
          {
              action: 'log'
  
          }
      ],
      add: function (e, data) {
          var $this = $(this);
          data.process(function () {
              return $this.fileupload('process', data);
          });
          originalAdd.call(this, e, data);
      }
  },
  
  processActions: {
  
      log: function (data, options) {
          console.log(data.files[0]); //Is it here?
          console.log(data); //Is it here?
          console.log(data.files[data.index]); //Is it here?
          console.log(data.files[data.index].name); //Is it here?
  
                                             //where?
  </code></pre>
  
  <p>Thank you.</p>