put URL "the Address" and get a directory?
    A.C.T. 
    albrecht at act-net.com
       
    Mon Feb 23 14:37:04 EST 2004
    
    
  
Hi, Dom,
> Is it possible  to get a *directory* of a web site, rather than the
> default "index.html" file?
That's not a function of the client (e.g. your application) but solely 
of the server. Sending a http-GET to a directory, not a specific file, 
has to be handled by the server. Most hosters forbid directory listings 
(naturally, due to security issues). Using Apache you can easily use 
"options +indexes" if you are allowed to use ".htaccess" files in the 
directory you would like to "browse".
But the result is not a "directory"! It is a single file (text) being 
generated by the webserver.
Listing directories via HTTP is not possible using the HTTP protocol 
itself. You would have to use some on-top-protocols like webDAV to get a 
directory handle from a non-specific http-"GET" command.
I hope this is of any help,
Marc Albrecht
A.C.T. / Level-2
Glinder Str. 2
27432 Ebersdorf
Deutschland
Tel. (+49) (0)4765-830060
Fax. (+49) (0)4765-830064
    
    
More information about the use-livecode
mailing list