sreekanth kuriyala
sreekanth kuriyala

Reputation: 1355

HTML input type file open sevrer files

A file server is running at http://localhost:8082 and now with <input type="file" /> I have to display those server files when we click on this input.

Please suggest.

Thank you.

Upvotes: 1

Views: 38

Answers (1)

Quentin
Quentin

Reputation: 943216

You can't. <input type="file" /> displays local files for uploading.

If you want to display files from an HTTP server you'll need to write your own UI (possibly writing a web service that will provide the list and accessing it with Ajax).

Upvotes: 1

Related Questions