Quantcast

File Transfer Client module for eXist

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

File Transfer Client module for eXist

Claudius Teodorescu
Hi,

Starting from the eXcellent FTP client module developed by W. Starcev and Adam Retter, I had the pleasure, with the help of Dan McCreary and being sponsored by NueMeta, to enrich it so that now allows SFTP connections and has a very good potential for further development, as follows:
a. more functions for creating/renaming/deleting remote resources, for transferring resources from a server to another server (FXP protocol), etc.
b. more protocols to be added: WEBDAV, WEBDAVS, FXP, FTPS, FTPES, etc.

The documentation for the current version is available here.

For now, the module is in this archive; just drop its content in $EXIST_HOME/lib/extensions, add <module uri="http://expath.org/ns/ft-client" class="org.expath.ftclient.FTClientModule" />, and restart eXist. The archive also contains 22 tests, covering as much as use cases as I was able to consider.

Enjoy, and any feedback is welcome,
Claudius

 
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Palmer, Eric
I can'ty test this for some time but THANKS A MILLION. This is great.

Eric

On 11/4/11 12:47 PM, "claud108" <[hidden email]> wrote:

>Hi,
>
>Starting from the eXcellent FTP client module developed by W. Starcev and
>Adam Retter, I had the pleasure, with the help of Dan McCreary and being
>sponsored by NueMeta, to enrich it so that now allows SFTP connections and
>has a very good potential for further development, as follows:
>a. more functions for creating/renaming/deleting remote resources, for
>transferring resources from a server to another server (FXP protocol),
>etc.
>b. more protocols to be added: WEBDAV, WEBDAVS, FXP, FTPS, FTPES, etc.
>
>The documentation for the current version is available
>http://demo.danmccreary.com/rest/db/specs/expath-ft-client/expath-ft-clien
>t.html
>here .
>
>For now, the module is in
>http://demo.danmccreary.com/rest/db/specs/expath-ft-client/ft-client.zip
>this archive ; just drop its content in $EXIST_HOME/lib/extensions, add
><module uri="http://expath.org/ns/ft-client"
>class="org.expath.ftclient.FTClientModule" />, and restart eXist. The
>archive also contains 22 tests, covering as much as use cases as I was
>able
>to consider.
>
>Enjoy, and any feedback is welcome,
>Claudius
>
>
>
>--
>View this message in context:
>http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-t
>p3990806p3990806.html
>Sent from the exist-open mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>RSA(R) Conference 2012
>Save $700 by Nov 18
>Register now
>http://p.sf.net/sfu/rsa-sfdev2dev1
>_______________________________________________
>Exist-open mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/exist-open


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Dan McCreary
In reply to this post by Claudius Teodorescu
Claudius did a great job on this module and we are glad it is going to be in the EXPath libraries.

If anyone is using the Amazon AWS system you can use also your private AWS SSH key and start transferring files between your local eXist development system and your remote AWS servers.  You can also use the job scheduler to watch for remote files in a drop box.  Note that when you use "Secure File Transfer" there is actually no actual "File Transfer Protocol" (port 21 etc.) going on.  It is all SSH protocol under the hood and the AWS firewall rules are already set up for SSH.

Very handy and secure. 

- Dan

On Fri, Nov 4, 2011 at 11:47 AM, claud108 <[hidden email]> wrote:
Hi,

Starting from the eXcellent FTP client module developed by W. Starcev and
Adam Retter, I had the pleasure, with the help of Dan McCreary and being
sponsored by NueMeta, to enrich it so that now allows SFTP connections and
has a very good potential for further development, as follows:
a. more functions for creating/renaming/deleting remote resources, for
transferring resources from a server to another server (FXP protocol), etc.
b. more protocols to be added: WEBDAV, WEBDAVS, FXP, FTPS, FTPES, etc.

The documentation for the current version is available
http://demo.danmccreary.com/rest/db/specs/expath-ft-client/expath-ft-client.html
here .

For now, the module is in
http://demo.danmccreary.com/rest/db/specs/expath-ft-client/ft-client.zip
this archive ; just drop its content in $EXIST_HOME/lib/extensions, add
<module uri="http://expath.org/ns/ft-client"
class="org.expath.ftclient.FTClientModule" />, and restart eXist. The
archive also contains 22 tests, covering as much as use cases as I was able
to consider.

Enjoy, and any feedback is welcome,
Claudius



--
View this message in context: http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-tp3990806p3990806.html
Sent from the exist-open mailing list archive at Nabble.com.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open



--
Dan McCreary
Semantic Solutions Architect
office: (952) 931-9198
cell: (612) 986-1552

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Claudius Teodorescu
Hi,

At this very moment, the ouput of list-resources() functions has the following format:

        <ft-client:resources-list xmlns:ft-client="http://expath.org/ns/ft-client">
            <ft-client:resource type="directory" last-modified="2011-10-20T18:12:36+03:00" size="4096" user="claudius" group="claudius" permissions="drwxr-xr-x">dir-without-rigths</ft-client:resource>
            <ft-client:resource type="file" last-modified="2011-11-02T14:21:02+02:00" size="1010" user="claudius" group="cdrom" permissions="-rw-r--r--">bgb8c463ce-c0b7-4833-a17f-15179b03b3f5.gif</ft-client:resource>
            <ft-client:resource type="link" last-modified="2011-11-04T17:26:33+02:00" size="90" user="root" group="root" link-to="/home/claudius/eXist-test/extensions/modules/src/org/exist/xquery/modules/ModuleUtils.java" permissions="lrwxrwxrwx">ModuleUtils.java</ft-client:resource>
        </ft-client:resources-list>


As one can see, the permissions are expressed like 'drwxr-xr-x'. Is this format adequate for the XML / XPath /XSD environment we are working with, or is someone aware of a more adequate format?

Thanks,
Claudius
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Adam Retter
In reply to this post by Claudius Teodorescu
> b. more protocols to be added: WEBDAV, WEBDAVS, FXP, FTPS, FTPES, etc.

I think that WebDAV and FXP may have quite different commands, so you
would perhaps be best considering a different modules for those
functions respectively. If that is the case then then naming of
ft-client may be better as ftpclient, because it would only really
support FTP and its secure version of course. Just a thought ;-)

> The documentation for the current version is available
> http://demo.danmccreary.com/rest/db/specs/expath-ft-client/expath-ft-client.html
> here .

Looks good :-)

Would you also be interested in adding auto connection close, in the
same way as we do for the SQL module in eXist-db at the moment?

> For now, the module is in
> http://demo.danmccreary.com/rest/db/specs/expath-ft-client/ft-client.zip
> this archive ; just drop its content in $EXIST_HOME/lib/extensions, add
> <module uri="http://expath.org/ns/ft-client"
> class="org.expath.ftclient.FTClientModule" />, and restart eXist. The
> archive also contains 22 tests, covering as much as use cases as I was able
> to consider.

Cool!



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Adam Retter
In reply to this post by Claudius Teodorescu
> At this very moment, the ouput of list-resources() functions has the
> following format:
>
>        <ft-client:resources-list
> xmlns:ft-client="http://expath.org/ns/ft-client">
>            <ft-client:resource type="directory"
> last-modified="2011-10-20T18:12:36+03:00" size="4096" user="claudius"
> group="claudius"
> permissions="drwxr-xr-x">dir-without-rigths</ft-client:resource>
>            <ft-client:resource type="file"
> last-modified="2011-11-02T14:21:02+02:00" size="1010" user="claudius"
> group="cdrom"
> permissions="-rw-r--r--">bgb8c463ce-c0b7-4833-a17f-15179b03b3f5.gif</ft-client:resource>
>            <ft-client:resource type="link"
> last-modified="2011-11-04T17:26:33+02:00" size="90" user="root" group="root"
> link-to="/home/claudius/eXist-test/extensions/modules/src/org/exist/xquery/modules/ModuleUtils.java"
> permissions="lrwxrwxrwx">ModuleUtils.java</ft-client:resource>
>        </ft-client:resources-list>
>
>
> As one can see, the permissions are expressed like 'drwxr-xr-x'. Is this
> format adequate for the XML / XPath /XSD environment we are working with, or
> is someone aware of a more adequate format?

What you have looks fine to me, however I think all the syntax options
here need to be documented in the spec, or say that it is sever
defined in the least. For example above you also have "lrwxrwxrwx",
whats the 'l' character mean? Also so you support 's' and 't' bits ?

> Thanks,
> Claudius
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-tp3990806p3992461.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Claudius Teodorescu
Hi,

'l' means link.

What does mean 's' and 't' bits?
 
Claudius Teodorescu
http://extxsltforms.sourceforge.net/sitKubera/index/index.xml

From: Adam Retter <[hidden email]>
To: claud108 <[hidden email]>
Cc: [hidden email]
Sent: Thursday, November 10, 2011 12:19 AM
Subject: Re: [Exist-open] File Transfer Client module for eXist

> At this very moment, the ouput of list-resources() functions has the

> following format:
>
>        <ft-client:resources-list
> xmlns:ft-client="http://expath.org/ns/ft-client">
>            <ft-client:resource type="directory"
> last-modified="2011-10-20T18:12:36+03:00" size="4096" user="claudius"
> group="claudius"
> permissions="drwxr-xr-x">dir-without-rigths</ft-client:resource>
>            <ft-client:resource type="file"
> last-modified="2011-11-02T14:21:02+02:00" size="1010" user="claudius"
> group="cdrom"
> permissions="-rw-r--r--">bgb8c463ce-c0b7-4833-a17f-15179b03b3f5.gif</ft-client:resource>
>            <ft-client:resource type="link"
> last-modified="2011-11-04T17:26:33+02:00" size="90" user="root" group="root"
> link-to="/home/claudius/eXist-test/extensions/modules/src/org/exist/xquery/modules/ModuleUtils.java"
> permissions="lrwxrwxrwx">ModuleUtils.java</ft-client:resource>
>        </ft-client:resources-list>
>
>
> As one can see, the permissions are expressed like 'drwxr-xr-x'. Is this
> format adequate for the XML / XPath /XSD environment we are working with, or
> is someone aware of a more adequate format?

What you have looks fine to me, however I think all the syntax options
here need to be documented in the spec, or say that it is sever
defined in the least. For example above you also have "lrwxrwxrwx",
whats the 'l' character mean? Also so you support 's' and 't' bits ?

> Thanks,
> Claudius
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-tp3990806p3992461.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Dan McCreary
"s" are usually for symbolic links.

http://en.wikipedia.org/wiki/Symbolic_link

I am not sure what "t" is for.

- Dan

On Mon, Nov 14, 2011 at 10:38 AM, Claudius Teodorescu <[hidden email]> wrote:
Hi,

'l' means link.

What does mean 's' and 't' bits?
 

From: Adam Retter <[hidden email]>
To: claud108 <[hidden email]>
Cc: [hidden email]
Sent: Thursday, November 10, 2011 12:19 AM
Subject: Re: [Exist-open] File Transfer Client module for eXist

> At this very moment, the ouput of list-resources() functions has the
> following format:
>
>        <ft-client:resources-list
> xmlns:ft-client="http://expath.org/ns/ft-client">
>            <ft-client:resource type="directory"
> last-modified="2011-10-20T18:12:36+03:00" size="4096" user="claudius"
> group="claudius"
> permissions="drwxr-xr-x">dir-without-rigths</ft-client:resource>
>            <ft-client:resource type="file"
> last-modified="2011-11-02T14:21:02+02:00" size="1010" user="claudius"
> group="cdrom"
> permissions="-rw-r--r--">bgb8c463ce-c0b7-4833-a17f-15179b03b3f5.gif</ft-client:resource>
>            <ft-client:resource type="link"
> last-modified="2011-11-04T17:26:33+02:00" size="90" user="root" group="root"
> link-to="/home/claudius/eXist-test/extensions/modules/src/org/exist/xquery/modules/ModuleUtils.java"
> permissions="lrwxrwxrwx">ModuleUtils.java</ft-client:resource>
>        </ft-client:resources-list>
>
>
> As one can see, the permissions are expressed like 'drwxr-xr-x'. Is this
> format adequate for the XML / XPath /XSD environment we are working with, or
> is someone aware of a more adequate format?

What you have looks fine to me, however I think all the syntax options
here need to be documented in the spec, or say that it is sever
defined in the least. For example above you also have "lrwxrwxrwx",
whats the 'l' character mean? Also so you support 's' and 't' bits ?

> Thanks,
> Claudius
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-tp3990806p3992461.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
Dan McCreary
Semantic Solutions Architect
office: (952) 931-9198
cell: (612) 986-1552

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Claudius Teodorescu
I guess the case of symbolic links is covered by FTP/SFTP clients use for this module by returning 'l', which stands for link. These clients also allow getting the file name link points to.
 
Claudius Teodorescu
http://extxsltforms.sourceforge.net/sitKubera/index/index.xml

From: Dan McCreary <[hidden email]>
To: Claudius Teodorescu <[hidden email]>
Cc: Adam Retter <[hidden email]>; "[hidden email]" <[hidden email]>
Sent: Monday, November 14, 2011 8:24 PM
Subject: Re: [Exist-open] File Transfer Client module for eXist

"s" are usually for symbolic links.

http://en.wikipedia.org/wiki/Symbolic_link

I am not sure what "t" is for.

- Dan

On Mon, Nov 14, 2011 at 10:38 AM, Claudius Teodorescu <[hidden email]> wrote:
Hi,

'l' means link.

What does mean 's' and 't' bits?
 
Claudius Teodorescu
http://extxsltforms.sourceforge.net/sitKubera/index/index.xml

From: Adam Retter <[hidden email]>
To: claud108 <[hidden email]>
Cc: [hidden email]
Sent: Thursday, November 10, 2011 12:19 AM
Subject: Re: [Exist-open] File Transfer Client module for eXist

> At this very moment, the ouput of list-resources() functions has the
> following format:
>
>        <ft-client:resources-list
> xmlns:ft-client="http://expath.org/ns/ft-client">
>            <ft-client:resource type="directory"
> last-modified="2011-10-20T18:12:36+03:00" size="4096" user="claudius"
> group="claudius"
> permissions="drwxr-xr-x">dir-without-rigths</ft-client:resource>
>            <ft-client:resource type="file"
> last-modified="2011-11-02T14:21:02+02:00" size="1010" user="claudius"
> group="cdrom"
> permissions="-rw-r--r--">bgb8c463ce-c0b7-4833-a17f-15179b03b3f5.gif</ft-client:resource>
>            <ft-client:resource type="link"
> last-modified="2011-11-04T17:26:33+02:00" size="90" user="root" group="root"
> link-to="/home/claudius/eXist-test/extensions/modules/src/org/exist/xquery/modules/ModuleUtils.java"
> permissions="lrwxrwxrwx">ModuleUtils.java</ft-client:resource>
>        </ft-client:resources-list>
>
>
> As one can see, the permissions are expressed like 'drwxr-xr-x'. Is this
> format adequate for the XML / XPath /XSD environment we are working with, or
> is someone aware of a more adequate format?

What you have looks fine to me, however I think all the syntax options
here need to be documented in the spec, or say that it is sever
defined in the least. For example above you also have "lrwxrwxrwx",
whats the 'l' character mean? Also so you support 's' and 't' bits ?

> Thanks,
> Claudius
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-tp3990806p3992461.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
Dan McCreary
Semantic Solutions Architect
office: (952) 931-9198
cell: (612) 986-1552



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Anton Kolev
In reply to this post by Dan McCreary
On 14.11.2011 20:24, Dan McCreary wrote:
> "s" are usually for symbolic links.

http://en.wikipedia.org/wiki/Setuid
http://en.wikipedia.org/wiki/Sticky_bit

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Willem
In reply to this post by Claudius Teodorescu
Hi,

The links for the ftp client extension for eXist produces a Gateway timeout error. Is there another location where we can find the relative files and documentation please.

Willem

On 2011/11/14 08:40 PM, Claudius Teodorescu wrote:
I guess the case of symbolic links is covered by FTP/SFTP clients use for this module by returning 'l', which stands for link. These clients also allow getting the file name link points to.
 

From: Dan McCreary [hidden email]
To: Claudius Teodorescu [hidden email]
Cc: Adam Retter [hidden email]; [hidden email] [hidden email]
Sent: Monday, November 14, 2011 8:24 PM
Subject: Re: [Exist-open] File Transfer Client module for eXist

"s" are usually for symbolic links.

http://en.wikipedia.org/wiki/Symbolic_link

I am not sure what "t" is for.

- Dan

On Mon, Nov 14, 2011 at 10:38 AM, Claudius Teodorescu <[hidden email]> wrote:
Hi,

'l' means link.

What does mean 's' and 't' bits?
 

From: Adam Retter <[hidden email]>
To: claud108 <[hidden email]>
Cc: [hidden email]
Sent: Thursday, November 10, 2011 12:19 AM
Subject: Re: [Exist-open] File Transfer Client module for eXist

> At this very moment, the ouput of list-resources() functions has the
> following format:
>
>        <ft-client:resources-list
> xmlns:ft-client="http://expath.org/ns/ft-client">
>            <ft-client:resource type="directory"
> last-modified="2011-10-20T18:12:36+03:00" size="4096" user="claudius"
> group="claudius"
> permissions="drwxr-xr-x">dir-without-rigths</ft-client:resource>
>            <ft-client:resource type="file"
> last-modified="2011-11-02T14:21:02+02:00" size="1010" user="claudius"
> group="cdrom"
> permissions="-rw-r--r--">bgb8c463ce-c0b7-4833-a17f-15179b03b3f5.gif</ft-client:resource>
>            <ft-client:resource type="link"
> last-modified="2011-11-04T17:26:33+02:00" size="90" user="root" group="root"
> link-to="/home/claudius/eXist-test/extensions/modules/src/org/exist/xquery/modules/ModuleUtils.java"
> permissions="lrwxrwxrwx">ModuleUtils.java</ft-client:resource>
>        </ft-client:resources-list>
>
>
> As one can see, the permissions are expressed like 'drwxr-xr-x'. Is this
> format adequate for the XML / XPath /XSD environment we are working with, or
> is someone aware of a more adequate format?

What you have looks fine to me, however I think all the syntax options
here need to be documented in the spec, or say that it is sever
defined in the least. For example above you also have "lrwxrwxrwx",
whats the 'l' character mean? Also so you support 's' and 't' bits ?

> Thanks,
> Claudius
>
> --
> View this message in context: http://exist.2174344.n4.nabble.com/File-Transfer-Client-module-for-eXist-tp3990806p3992461.html
> Sent from the exist-open mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/exist-open
>



--
Adam Retter

eXist Developer
{ United Kingdom }
[hidden email]
irc://irc.freenode.net/existdb



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open




--
Dan McCreary
Semantic Solutions Architect
office: (952) 931-9198
cell: (612) 986-1552




------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1


_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open

wavdwesthuizen.vcf (216 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Claudius Teodorescu
Hi,

For documentation see [1], for jars see [2].

Put the jars in $eXist-home/lib/extensions, add
<module uri="http://expath.org/ns/ftp-client" class="org.expath.ftpclient.
FTPClientModule" />

to conf.xml

and restart eXist.

A new version will be available in about one week.


P. S. For this very moment, only ft-client:connect(), ft-client:list-resources(), ft-client:retrieve-resource(), ft-client:store-resource(), and ft-client:disconnect() functions are implemented, for both FTP and SFTP protocols.
 
Claudius Teodorescu
http://extxsltforms.sourceforge.net/sitKubera/index/index.xml


[1] http://extxsltforms.sourceforge.net/specs/expath-ft-client/expath-ft-client.html
[2] http://code.google.com/p/existdb-contrib/downloads/list

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: File Transfer Client module for eXist

Claudius Teodorescu
Hi, all,

A new version of File Transfer Client XQuery extension module is ready (download from [1]).

Its architecture is now changed to separate the implemented protocols (FTP ans SFTP, for now), so that one can use only the protocol needed. On the other hand, the module has two layers, one that is general purpose, to be used in any Java application, and the other is an eXist wrapper.

Along with developing this module, and EXPath specification was developed, too, which can be found at [2].

eXist users should install this module as follows:
1. Put the jars from archive in $eXist-home/lib/extensions.
2. Add <module uri="http://expath.org/ns/ft-client" class="org.expath.exist.ftclient.ExistExpathFTClientModule" /> to conf.xml
3. Restart eXist.


[1] http://code.google.com/p/existdb-contrib/downloads/list
[2] http://extxsltforms.sourceforge.net/specs/expath-ft-client/expath-ft-client.html
Loading...