PDA

View Full Version : Use Ext.ux.form.FileUploadField to upload files from firefox



Tremal
18 Jun 2013, 7:10 AM
Hi,

I was triying to upload one file with the Ext.ux.form.FileUploadField component, but as FireFox do not gives the full path for safety but only the File name. Then, how can I send a file to the server from FireFox qhen a web page has ExtJS?

Thanks

ExtJS 3.4.x

raj_plays
18 Jun 2013, 10:29 AM
FF does not display the full path in the field but when you submit, you will get the full path on server side.
I use .Net asmx webservice as backend and there I am able to get ...


HttpPostedFile file = request.Files["iphone_sp_image_upload"];

From the file obj, I can get the full path.