Can i browse file stored on Remote server through simple <input type=“file”> control in asp.net MVC 2.0

StackOverflow https://stackoverflow.com/questions/7804507

  •  25-10-2019
  •  | 
  •  

문제

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

도움이 되었습니까?

해결책

There is no way to do it.

You should use special web file browser - for example, CKFinder. http://ckfinder.com/

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top