Search found 8 matches

by zagirovaa
Thursday 15th July 2021 1:20pm
Forum: General
Topic: [SOLVED] Gambas Style Guide
Replies: 3
Views: 2322

Re: Gambas Style Guide

Hi, guys!
I got it. Thanks for your replies!
by zagirovaa
Friday 9th July 2021 7:00am
Forum: General
Topic: [SOLVED] Gambas Style Guide
Replies: 3
Views: 2322

[SOLVED] Gambas Style Guide

Hi, everyone! I would like to know wether there is a sort of gambas coding style guide? I only found these resources in the official gambas wiki: https://gambaswiki.org/wiki/doc/namingconvention https://gambaswiki.org/wiki/doc/naming https://gambaswiki.org/wiki/doc/helpcomments Any additional inform...
by zagirovaa
Sunday 4th July 2021 11:37am
Forum: General
Topic: [SOLVED] Using gb.util prompt/expect with ssh client
Replies: 8
Views: 4451

Re: Using gb.util prompt/expect with ssh client

Finally found a solution to this problem on Gambas BugTracker. Thanks for Brian G. Here is a working example of ssh connection from Gambas project: ' Gambas module file Public myprocess As Process Public GotPrompt As Boolean = False Public logonComplete As Boolean = False Public tableOfCommand As St...
by zagirovaa
Sunday 13th June 2021 5:15pm
Forum: General
Topic: [SOLVED] Using gb.util prompt/expect with ssh client
Replies: 8
Views: 4451

Re: Using gb.util prompt/expect with ssh client

Maybe ask on the gambas mailing list? I read in the wiki the bit from Process.Expect() http://gambaswiki.org/wiki/comp/gb.util/process/expect Read some bit (cannot remember where) that said no more but had (Think ssh/ssl) appended to it. but it had no further explanation/example. I'd try the mailin...
by zagirovaa
Sunday 13th June 2021 5:12pm
Forum: General
Topic: [SOLVED] Using gb.util prompt/expect with ssh client
Replies: 8
Views: 4451

Re: Using gb.util prompt/expect with ssh client

This is going over my head. However, if you can do all this in Java and PHP then why not use that code and pull it in to Gambas to display. Here is a Gambas program in which I created some simple Python, ran the Python and displayed the result in Gambas. TestNew-0.0.11.tar.gz Hi! I didn't say that ...
by zagirovaa
Sunday 13th June 2021 12:29pm
Forum: General
Topic: [SOLVED] Using gb.util prompt/expect with ssh client
Replies: 8
Views: 4451

Re: Using gb.util prompt/expect with ssh client

Please, have a look at this project: https://cbackup.me/en/
It works great for me (written in java and php) but it is no longer supported and i would like to expand the functionality it gives in my application.
by zagirovaa
Sunday 13th June 2021 12:24pm
Forum: General
Topic: [SOLVED] Using gb.util prompt/expect with ssh client
Replies: 8
Views: 4451

Re: Using gb.util prompt/expect with ssh client

Hi! I would like to develop an application which would periodically save configurations of active network devices like switches, routers, etc. I could implement that using python and qt (in python there are different libraries like paramiko) but it is much more easier to develop GUI applications in ...
by zagirovaa
Friday 11th June 2021 8:52am
Forum: General
Topic: [SOLVED] Using gb.util prompt/expect with ssh client
Replies: 8
Views: 4451

[SOLVED] Using gb.util prompt/expect with ssh client

Hi, everyone!

I would like to know whether anyone had success with connecting to ssh server (or telnet) using expect/prompt from Process class that is in gb.util component (beginning with Gambas 3.15)? I myself tried but with no success. Any working example would be appriciated!

Thanks in advance!