Indexing files on the server

G

Gil-galad

Hi,

I'd like to know if it is possible to put a dhtml or java script on a
webpage in order to have the files on the server listed and ready to
download. I mean something like the file managers avaible in some free
webspaces where you see the files of your website.

Thanks!
 
S

SpaceGirl

Gil-galad said:
Hi,

I'd like to know if it is possible to put a dhtml or java script on a
webpage in order to have the files on the server listed and ready to
download. I mean something like the file managers avaible in some free
webspaces where you see the files of your website.

Thanks!

Not really. You need to use a server-side languages to do this.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
P

paul

Gil-galad said:
Hi,

I'd like to know if it is possible to put a dhtml or java script on a
webpage in order to have the files on the server listed and ready to
download. I mean something like the file managers avaible in some free
webspaces where you see the files of your website.

Thanks!


You can probably use a .htaccess file in that folder or at the root to
override your hosting default.

just a text file with that name including the following line:

Options +Indexes

I used a .bat file to create the odd filename which windows doesn't allow:


RENAME.BAT:
rename htaccess.txt > .htaccess
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top