Closed Bug 447594 Opened 16 years ago Closed 16 years ago

Firefox 3 don't display complete path of file selected when using Browse button.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 405630

People

(Reporter: mohit, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727)
Build Identifier: Problem wih Firefox version 3

Hi

I need submit a form but Firefox3 don't display the complete path of the File, In IE and FireFox2 works Ok but Firefox 3 NO. 

I use a input "FILE" for select the complete path of the File. I use a Javascript for displaying the complete Path and then using that path into my java code.As it is not displaying the complete path of file selected my javascript is also not working.In firefox 2 and IE it display the complete path and there the javascript is working fine.

Reproducible: Always

Steps to Reproduce:
1.use the browse button and select any file from your pc
2.then on click of submit button try to retrive the path that u have select
Below is the code:

var objUpload = document.RestoreDatabaseForm.restorenameId;
var sUpload=objUpload.value;
alert(sUpload);
3.u will only see the file name not the whole path.
Actual Results:  
u will only see the file name not the whole path.


Expected Results:  
We should be able to get the whole path of file.
That is no bug, that's by design (privacy).
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Pls tell me the solution for this i.e. how can i get the complete path of file selected.
My javascript is failing due to this.
I am not able to get anything from bug 405630.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
That is no reason to undupe this.
This is the correct dupe and that means you should not unduping it.
I can you not provide with a solution, i can you only tell that this is by design for privacy reasons.

Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.