问题
I have a file control of HTML <input type="file">
And i want to browse file from the remote server.
I want to locate a file which is stored on remote server.
For eg. If my website is hosted on http://192.168.56.116
and if there is a folder on server http://192.168.56.116/UploadedFiles
then i should be able to browse files contained in that folder.
Is this thing is possible in asp.net MVC 2.0 ???
Please suggest me any alternative or solution for this problem.
Thanks, Manoj
回答1:
There is no way to do it.
You should use special web file browser - for example, CKFinder. http://ckfinder.com/
回答2:
You can do it via IIS ..
Its not advised but its possible, you simply need to enable directory browsing in IIS.
Just be careful as anyone can view the contents of the directory unless you password protect it.
来源:https://stackoverflow.com/questions/7804507/can-i-browse-file-stored-on-remote-server-through-simple-input-type-file-con