Google
 

View Full Version : how do I make a webpage list files?


Kraw
04-27-2002, 06:18 PM
I used to do this on geocities, I would just take out all the html files, especially index.htm or html, then it would list all the files

I store alot of pics that I post on sites at www.krawdaddy.net/pics. I have NO html files there, just pics. Frontpage put abunch of files there, vx etc, but I take them out and I still can't get the page to list the files

Swappy
04-27-2002, 10:19 PM
You need to set the directory permission, such as chmod'ing it to 755

Kraw
04-27-2002, 10:47 PM
Originally posted by snacky
You need to set the directory permission, such as chmod'ing it to 755
and how might I do that?

keep in mind, I use frontpage for my site.. I don't know HTML or anything like that. I CAN cut and paste stuff though

Swappy
04-27-2002, 10:55 PM
Hmm...don't really know in FrontPage, do you have an FTp program installed? Such as ftple?

Which version of FP?

Kraw
04-28-2002, 11:01 AM
Originally posted by snacky
Hmm...don't really know in FrontPage, do you have an FTp program installed? Such as ftple?

Which version of FP?


Frontpage 5.0, came with Office XP pro. I used Office 2k w/ FP 4.0 before

I have CuteFTP, I only use that to put files in my /pics/ folder, I use FP to upload all my other stuff

Swappy
04-28-2002, 11:16 AM
Well being that I hate FP, here's a link to use for
CuteFTP (http://www.perlservices.net/en/faq/cute_ftp.shtml)

Set the directory to 755

Kraw
04-29-2002, 12:20 AM
ok.. I did that.. but I still can't see it

I get this:

Error 403! Access denied
The directory or file you tried to access has been blocked from public access. Please try again, or inform the webmaster if you believe this is an error


edit

I saw this on that site too

Remeber: if you change the CHMOD of a file, you have to make sure that the directory and all parent directories up to Root level are CHMODed as well!


so, that means I need to go in and set all my directories to 755? When I checked my /pics directory, it was already 755, but when I checked the actual files in the dir, they were 644

Swappy
04-29-2002, 09:38 AM
Strange...works on mine...Try setting it to 777


Then again it might be server related and that your host has it set that way

Kraw
04-29-2002, 10:43 AM
Originally posted by snacky
Strange...works on mine...Try setting it to 777


Then again it might be server related and that your host has it set that way


no joy

must be my host.. I guess they don't like it

Manu
04-29-2002, 11:23 AM
This most likely has to do with a setting your ISP has set.

It ca be considered a 'security risk' to allow directory browsing, so many ISPs have it turned off on their webservers.

Kraw
04-29-2002, 11:38 AM
Originally posted by Manu
This most likely has to do with a setting your ISP has set.

It ca be considered a 'security risk' to allow directory browsing, so many ISPs have it turned off on their webservers.


maybe I should contact them and find out if they can turn it on?
I need to email them about some other stuff anyways

Google