[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/libraries/libldif fetch.c Makefile.in line64.c

Hallvard B Furuseth wrote:
> kurt@OpenLDAP.org writes:
> > Add support for "foo:< http://localhost/path.
> Excuse me, shouldn't that be file://localhost/ or file:/// ?

The code I committed handles "file:", "ftp:", "http:", and other URL types
supported by FreeBSD's -lfetch library (Development to other fetch URL
APIs is encouraged).  I will commit code in a bit that supports "file:"
URLs without the need for additional libraries.

> http://localhost/ looks like it should contact the host's HTTP server,


	ldapadd ... << ADDEOF
	version: 1

	# image, foo
	dn: cn=image, o=foo
	# fetch photo from http server
	jpegPhoto:< http://host/image.jpeg
	objectclass: image

No need to manually copy image.jpeg to the local system...