I've been using an iframe to another page to do file uploading in my sencha touch app, but I decided it was time to find a better solution since carousels don't seem to like having iframes as one of their elements. I see the File component in the documentation, and saw a forum post from february saying that using file as a component in a text field should work in the latest version, but it doesn't seem to for me.
Code:
xtype: 'formpanel',
        layout: 'hbox',
        scrollable: false,
        items: [
         {
          xtype: 'textfield',
          component: {
            xtype: 'file',
          },
          name: 'upfile',
          flex: 5,
         },
         {
          xtype: 'button',
          text: 'Send',
          flex: 1,
          handler: function(){
            this.up().submit({
              url: 'process_file',
              method: 'POST',


            });
          }
The above code sends the "C:/fakepath/<file>" string as a parameter in the post, but not the actual file. If I put "name: 'upfile'" inside the file object then no parameters are sent at all.