PDA

View Full Version : How to get full Path



innovista1
18 Nov 2013, 9:13 PM
Dear Friends,

We are implementing an web application using ExtJS4, as per our requirment we are uploading a file at that it is showing fakepath. As per our requirement how to get the full path using ExtJS. This is very urgent requirement.
please help me.

Please find the attached screen shot.

slemmon
23 Nov 2013, 12:28 AM
I'm afraid what is displayed as the path is dictated by the browser, not the ExtJS framework.

Note the description at the top of the Ext.form.field.File API doc:
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.field.File


The getValue (http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.form.field.File-method-getValue) method will return a value that is browser-dependent; some have just the file name, some have a full path, some use a fake path.