View Full Version : How add file browser/upload functionality?

20 Dec 2011, 6:26 AM

I require to add a file browser to my application -
allowing users to browse for files on their local server
and upload files to another server.

Having used the example in the sencha 4 docs, 'Ext.form.field.File',
a browser is displayed - when I use the browser to select a filename
from any path, the path set in the photo textfield is always 'fakepath'.

Please can you let me know the steps required, both on
client and server, to carry out the required functionality.

Ideally we'd like the user, in addition to using the browser, to also
be able to update the field manually.

Kind regards,

20 Dec 2011, 6:31 AM
The path is not available to the file field so the fakepath will be inserted.