Sign in to follow this  
Followers 0
zackrspv

[UNSOLVED] HTTP Directory List

1 post in this topic

#1 ·  Posted (edited)

Question:

What would be the best method to accomplish the following:

1. Go out, connect to the web server, and grab a directory listing (example: http://www.servername.com/down/)

2. Use the directories listed there as combo box headings

3. Recursively add each file under those directories as combo box options

For example, if the http webserver directory list was:

Help

Programs

FTP

Then i would have 3 combo boxes with those three headings

The data inside of the combo boxes would be what files exist UNDER those directories; for example:

Help

--Open.exe

--Close.exe

--Find.exe

--go.exe

Programs

--Mine.exe

--Yours.exe

--Theirs.exe

FTP

--Now.exe

--Later.exe

--Soon.exe

I know that inetget will pull the HTTP source for the directory listing, but that's really not what i want.

I suppose I could use an INI, however, if we add tons of files under there, i may be stopped by the INI size limit. And, the only other problem w/ the INI is that i'd have to update it manually or with a cron job whenever a new file is added, which can be tedious.

Suggestions? (And, yes, I did a search on this forum).

Edited by zackrspv

-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0