Closed Bug 455979 Opened 16 years ago Closed 16 years ago

unable to read full file name after I clicked on file upload control

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 405630

People

(Reporter: marciocba, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: firefox 3.0.1

Hi,

How do I get the path for a file that I want to upload on FireFOX 3.0+?

we have got a application written in lotus notes the has a page with a file upload control in it.
That page is working fine under IE 6 and Previous version for FireFOX that I had in my machine (FireFOx 2.0)
After I have dowloaded the FireFox version 3.0.1 the page stopped working.

I am not able to get the path name for the file that I am trying to upload.

I only can get the file name. But I need to get the full name for the file :path+file name


Reproducible: Always

Steps to Reproduce:
I have created a simple page to test the file upload control and I can't get the full path name for the file.

Steps used for creating simple page

1)Create a new notes form
2)Click on the file upload control field and go to "Properties." In the HTML tab, paste the following code into the "Others" field: 
onBlur="GetValue(this)"

3)Create a text field and label it "Path." This is where you will store the path value that you receive from the file upload control field.

4)In the form's JavaScript header, paste the following code: 
var uplpath ; 
function GetValue(path)
{
uplpath = path; 
document.forms[0].path.value = uplpath.value
}

5)test the page to see if you can get the path for the file 

Actual Results:  
I can not get the full path for the file I want to upload (path+name) into temporary field

Expected Results:  
I should be able to get the path+file name into a temporary field
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.