W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2015

Re: XProc to access XML data from FTP (with authentication)

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 24 Sep 2015 15:54:00 -0500
To: "Fox\, David" <DFox@ap.org>
Cc: XProc Dev <xproc-dev@w3.org>
Message-ID: <871tdno7x3.fsf@nwalsh.com>
"Fox, David" <DFox@ap.org> writes:
> As you point out, FTP support with authentication is probably not
> included in the Apache HTTP client libraries. I suppose you could
> employ Apache's FTP client, as well, but I'm not sure if that would
> require a new XProc element (e.g. ftp-get). My current XProc simply
> drops the FTP URI (with embedded authentication) into the p:document
> element:

The p:http-request statement is heavily overloaded. I'm pretty sure I
could "do the right thing" with ftp:// URIs and still be conformant.

> <p:document href="ftp://user:passwordd@ftp.example.org/example.xml"/>
>
> This might not be the best approach, but it worked in Oxygen so I
> assumed all would be well.

Right. Please open a new bug with something along the lines of
"Please support FTP URIs" with some kind of reminder that Apache
Commons Net includes an FTP client and I'll see what I can do.

No promises on the time frame, but I'm perfectly happy to put it on
the list.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Simplicity is always a virtue.--Edward
http://nwalsh.com/            | Abbey

Received on Thursday, 24 September 2015 20:54:27 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 24 September 2015 20:54:27 UTC