cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Retrieve and parse an XML document available on a FTP server ?
Date Mon, 23 May 2005 12:15:07 GMT
Laurent Perez wrote:
> Hello
> 
> I need to retrieve a customer's well-formed XML document hosted on
> it's own server, FTP protocol being the only available communication
> channel. After being retrieved, I need to parse it, and store a few
> nodes values into my database. Is there any builtin cocoon component
> or flow snippet to help me achieve this ?
> 
> I was looking - wiki, docs, google, planetcocoon - for something like
> "<map:generate src="ftp://login:password@ftp.host.com"><map:parameter
> name="method" value="GET"/><map:parameter name="file"
> value="foo.xml"/></map:generate>", but didn't find anything.

I don't think that any of the currently public available sources or generators 
supports FTP. If you need this feature you'll probably end up in writing your 
own FTP source. If so have a look at http://jakarta.apache.org/commons/net/.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message