when we put a browse botton on a html form, it gives us the option to browse the file on our system only. if i run it on a server, will i b able to browse on server paths? basically i want to access the files available on the server. is it possible?
The files shown are essentially "your files" - so if you are running the site on a server and browsing it from a different machine, you won't be able to see the files on the server.
If you run it on a server and browse the page from that server, you would be able to see the files.
Equally, if you are on the network and map a share on the server on your machine, you should also be able to browse that (using "Map Network Drive", which assigns the share on the server to a drive-letter on your machine).
This is a browser control, so will only allow you to display files that are local to the browser.
If you want to show files on the server, you will need to use the FileSystemObject
and output lists to the browser.
Some examples you can look at are:
- http://www.micronetsoft.com/ws_webx.asp
- http://www.scriptdungeon.com/freeaspscript/freescripts8
- http://www.gleamtech.com/products/webexplorer/asp-file-manager
or just search "web file manager"