Yan,
This depends on what the browser wants to send to the server. Some
browsers send the file name only, some send the path. The bottom line is
that you can't rely on the browser sending a complete path to the
server, so we decided to normalize the value and always only store the
file name without the path.
-Erik
Wang Yan wrote:
> Hi, in the Upload control, we have a "filename" attribute, this
> attribute returns the name of the file that we want to upload.
>
> However, it only returns the file of name, but not the whole path of the
> file : e.g: C:\files\upload\...\upload.jpg !
>
> Do you have any idea to return the absolute path of the file ?
>
> Thanks !
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws