[Zope] [OffTopic]Browser Specific Issue
Wed, 4 Jun 2003 10:04:53 -0700
On Wednesday 04 June 2003 01:42 am, Shashank Ashtikar wrote:
> I am working on a form where user is expected to browse the homes for a file
> and select the one he desires to be processed. I am using following statement
> to display the necessary control.
> <input type="File" name="file_name">
> On IE when I use file_name I get complete path of the file which is exactly what
> I desire.but on GNU/Linux based Web Browsers like mozilla, galeon etc. only name
> of the file is returned. How can I get the complete path even on these browsers.
That doesn't make sense to me -- a "file" input should return (POST) the
*contents* of the file, not the file name, right?
Anyway, giving the full pathname on the client machine is possibly
a security violation, isn't it? (i.e. the server shouldn't be able to
introspect the client's filesystem).
Or am I misunderstanding your question?
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks http://www.anansispaceworks.com