Re: [xml] nanohttp
- From: Bjoern Hoehrmann <derhoermi gmx net>
- To: dhk <dhkuhl optonline net>
- Cc: xml gnome org
- Subject: Re: [xml] nanohttp
- Date: Wed, 02 Jun 2010 19:10:28 +0200
* 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:bjoern hoehrmann de · 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/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]