PDA

View Full Version : File field to base64 value



tt88
16 Oct 2013, 7:00 AM
Hi For a web-based Sencha app, is there a way to convert the Ext.field.File or Ext.field.FileInput value to a base64 encoded string? Are there any tools in Sencha that give you the option to base-64 encode a file?-tt88

fmoseley
17 Oct 2013, 9:37 PM
Nothing out of the box. Try looking for a javascript solution like this:
http://ntt.cc/2008/01/19/base64-encoder-decoder-with-javascript.html