* dhk wrote: >I'm trying to use nanohttp to get and parse file. Is there a way to >read the contents of a directory to see what's there before calling >xmlNanoHTTPFetch()? I thought xmlNanoHTTPMethodRedir() would do it, but >I can't get it to work. Is there an example? Also is there a way to >fetch all the files or use wild cards in the url?
HTTP does not know about directories (without WebDAV semantics at least) so what you are asking is not possible using any HTTP client. If servers do generate some kind of directory listing you could trying writing a parser for their output format. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
