tags:

views:

38

answers:

2

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?

A: 

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).

Sohnee
well u just said what i require. what i want is to access files shared on the lan. how do i do it?
sushant
You can either... 1) browse to the file using "my network places" from within the upload dialog, or 2) map the network drive to a drive letter on your machine and browse via that.
Sohnee
This answers his question but the answer below gives options for a solution.
RandyMorris
+1  A: 

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:

or just search "web file manager"

Oded
hey i am new to programming and just learnt fso. can u tell me a little precisely how do i do it. if possible may b some sample code.
sushant