in reply to How to generate an HTML page from an FTP directory listing?

If you are using Apache, you can just allow the server to display that page and turn on FancyIndexing to let people see it.

If you aren't, you can install Apache somewhere and play around with its standard icon's and links to design a CGI script to do what you want. I did this, once, for my wife for a script to make it easy for her to navigate a CD of family photos that her father sent. As I recall it was pretty routine.

  • Comment on Re (tilly) 1: How to generate an HTML page from an FTP directory listing?

Replies are listed 'Best First'.
Re: Re (tilly) 1: How to generate an HTML page from an FTP directory listing?
by little (Curate) on Mar 29, 2001 at 03:17 UTC
    Xitami does as well, but I don't know of any other server that does allow to display the "readme" file inside a directory as the leading text before the directory listing.
    But in fact, even if no other documents then really public ones should be in that directory it seems to be better to not to use this feature of webservers but instead building the structure as required or requested only to the frontend, so you have for example a DB containing your files and can (just as large image archives do) let them browse the (virtual) directories like ftp but structured by keywords. In this way it's also easy to prevent others from even knowing of ftp-sections which aren't (or shouldn't be)of their interest and at least as an admin you'd get some fewer warnings about denied file access attempts.
    Ok, I know thats beyond the scope of the question. just an idea. :-)

    Have a nice day
    All decision is left to your taste