Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Firefox problem

6 views
Skip to first unread message

Burhan Sabini

unread,
Aug 1, 2007, 1:53:36 AM8/1/07
to
Hi,

I need help with <input type=file> in Firefox.

In Firefox 2.0 (my version 2.0.0.6) when I use <forms> <input type=file>...

The webpage will show the input box and the browse button. After browsing,
the selected filename including the paths will be shown in the input text
box. But, after submission,the Firefox will lose the path information.

To illustrate the problem to make it clear disregard syntax or rules, etc :

For example : filename =C:/myfiles/backup/testing.txt.

Using Firefox, after submit button, filename = testing.txt. --> path info
is lost.
Using IE after submit button, filename =
:/myfiles/backup/testing.txt. -->path info is retained

Does anyone knows whether there is a setting in Firefox that lets me correct
this problem so that the path info is not lost ? or there is no cure ?

Thanks,

Burhan Sabini


Edwin van Vliet

unread,
Aug 1, 2007, 2:31:33 PM8/1/07
to

It should never be necessary for the server to know from whence the file
came. If you do want to know so, copy the value of the file input to
another input field. This should work, I guess.

HTH, Edwin.

David E. Ross

unread,
Aug 1, 2007, 4:22:21 PM8/1/07
to

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5)
Gecko/20070716 SeaMonkey/1.1.3

If I go to <http://validator.w3.org/> and select the "Validate by File
Upload" tab, I get an input area with a Browse button. I use the Browse
button to launch a File Upload window. I navigate to a folder that
contains HTML files, select a file, and select the Open button. Then I
select the Check button on the Web page.

This gives me a new page. If I then select the Back button on my
browser toolbar, I get the input page again. My file is still in the
input area.

I terminate SeaMonkey and then relaunch it. I again go to
<http://validator.w3.org/> and select the "Validate by File Upload" tab.
If I select the Browse button, I'm in the same folder to which I
navigated earlier.

Does not Firefox work the same way?

--

David E. Ross
<http://www.rossde.com/>.

Anyone who thinks government owns a monopoly on inefficient, obstructive
bureaucracy has obviously never worked for a large corporation. © 1997

0 new messages