从浏览器上载文件夹和文件名 [英] Get Upload Folder and Filename from Browser

查看:89
本文介绍了从浏览器上载文件夹和文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能获得上传到服务器的文件的客户端目录路径? 大多数当代浏览器不要显示文件来源的完整路径,但可以像 /fakepath/file.ext



这取决于您的浏览器。


Is it possible to get the client's directory path for a file that is uploaded to a server?

解决方案

Most contemporary browser do not show the complete path to a file's origin, but something like /fakepath/file.ext.

But it depends on your browser.

这篇关于从浏览器上载文件夹和文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆