I doubt it. I was down in that code pretty recently. FTP is a much more complicated protocol than HTTP. It uses two connections, a control connection and a data connection. The control connection can set different parameters for the data transfer. It can initiate the data connection or ask the server to initiate it, and so on. Even a simple image-mode get is a multi-step operation that can fail in several odd ways.
wunder == Walter Underwood Lead Engineer, Mark Logic On Apr 2, 2010, at 12:03 PM, Danny Sokolsky wrote: Although I have not tried this, you might be able to do this with xdmp:http-get. -Danny From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Tim Meagher Sent: Thursday, April 01, 2010 8:32 PM To: 'General Mark Logic Developer Discussion' Subject: RE: [MarkLogic Dev General] Can document loading be performed from anFTP site using xdmp:document-load? Looks like I answered my own question (note the file and server names have been changed for the purposes of confidentiality): [1.0-ml] XDMP-INVSCHEME: xdmp:document-load("ftp://ftp.server.org/zipfile.zip", <options xmlns:http="xdmp:http" xmlns="xdmp:document-load"><uri>/load-test.zip</uri><repair>none</repair><permissions><sec:...</options>) -- Invalid protocol scheme: ftp ________________________________ From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Tim Meagher Sent: Thursday, April 01, 2010 3:53 PM To: 'General Mark Logic Developer Discussion' Subject: [MarkLogic Dev General] Can document loading be performed from anFTP site using xdmp:document-load? Hi folks, I know that a document can be inserted from a web page using xdmp:document-load given its URL, but will this also work with an FTP site? Thank you! Tim Meagher _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://xqzone.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
