开发者

Getting the file path of a uploaded file on the users disk in IE/Firefox

For a website I am working on, I need to allow users to be able to specify the path to a file on a network drive, so I simply tried using a file field and having javascript get the value, however because of browser security I cannot get this path.

Is there anyway to get around this browser security and allow users to browse to the file on the network drive and select it to specify the p开发者_如何学JAVAath?

Thanks, Alex.


AFAIK this is impossible with javascript. Flash also forbids from accessing the client file paths. ActiveX could be used but it will work only in IE and must be installed on the client computer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜