PDA

View Full Version : Problem with FileUploadField's path



chuvinha
30 Dec 2010, 5:43 AM
Hi guys, I am with a problem to get the FileUploadField's path.
When I choice one file and I click to open, it appears just the begin and the o final of path. In middle stay fakepath.
Example: C:\fakepath\caelum-java.pdf
My code:




var fieldArquivo = new Ext.ux.form.FileUploadField({
fieldLabel : 'Arquivo',
name : 'arquivoUpload',
id: 'campoArquivoUpload',
allowBlank:false
});


Could someone tell me what's happening?

chuvinha
30 Dec 2010, 5:55 AM
I am using the google chrome.
In the firefox it get only the file's name: caelum-java.pdf.
I need of all path.
Could someone help me?

Condor
30 Dec 2010, 6:13 AM
Impossible. Firefox removes the path for security reasons.