Listing files and folders of a website

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Listing files and folders of a website

Post by paulclaude » Thu Nov 13, 2008 2:13 pm

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:

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Nov 13, 2008 3:16 pm

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply