On 23.09.2016 19:14, CVBruce wrote: > I would think that the "right way" to do this would be to write a Rexx > interface to libssh, which contains the api calls to after. This depends how "right way" gets defined. :)
If re-inventing the wheel is a non-goal, then taking advantage of existing and proofed Java solutions from ooRexx using BSF4ooRexx is unbeatable (and comes for free with it)! :) Of course, if anyone is available and interested in creating a non-Java-based solution using C++ instead of Java and implement the interfaces to libssh on Unix and for the respective dynamic link libraries on the other operating systems, which also means to have all the security infrastructure installed/available on that operating system. Actually, creating external ooRexx function and method libraries in C++ is a very easy and straight-forward task, and should one have questions about it the ooRexx developer list on sourceforge should be your friend! ---rony >> On Sep 23, 2016, at 8:56 AM, pr gramly <prgra...@gmail.com> wrote: >> >> Hi Rony, >> >> thank you for the direction. >> >> i'll check out the presentation, but first thing that comes to mind is >> whether i would need java installed on the system where my oorexx + >> BSF4ooRexx + java classes would run? >> >> what i'm hoping to accomplish with all this is a replacement for an >> 'expect' script (expect is an extention of TCL) which will be more >> robust as far as error checking, retrying, logging, etc. >> >> Phillip >> >> >> Using BSF4ooRexx allows you to use them with pure ooRexx, no need to >> code in Java yourself. >> >> -- -- __________________________________________________________________________________ Prof. Dr. Rony G. Flatscher Department Informationsverarbeitung und Prozessmanagement Institut für Betriebswirtschaftslehre und Wirtschaftsinformatik D2-C 2.086 WU Wien Welthandelsplatz 1 A-1020 Wien/Vienna, Austria/Europe http://www.wu.ac.at __________________________________________________________________________________ ------------------------------------------------------------------------------ _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users