Page 1 of 1

Listing files and folders of a website

Posted: Thu Nov 13, 2008 2:13 pm
by paulclaude
In FTP is a simple thing, but the http scheme has not directory listing commands.

Is there anyone having a suggestion to lists the files and folders (root directory and subdirectories) of a website?

:wink:

Posted: Thu Nov 13, 2008 3:16 pm
by Mark
Hi Paul,

If you wesite has no index file, it might allow you list the files in the root or a folder. Server may not allow this and thus it is simply impossible to do this reliably.

If this is your own website, you can write a Perl or PHP script that returns all file sin a particular folder.

If you have no access to the server over FTP or through a control panel, you might want to collect all links, img tags, script tags et cetera in a particular html document on theserver and hope that this returns all the files you need.

There might be a few crawling scripts available on the HyperCard, Metacard or Revolution mail lists.

Best,

Mark