Hehe! Forget it, I've allready found the problem.

Thankx anyway.

-----Original Message-----
From: Maverick [mailto:maverick...@gmail.com] 
Sent: terça-feira, 10 de Fevereiro de 2009 18:40
To: 'Peter Stuge'; 'libssh2-devel@lists.sourceforge.net'
Subject: RE: [libssh2] execute remote command and get result

In attachment is the code I've made.

I've got 2 procedures that execute 2 commands each via ssh, The first one
(linux_cpumem) executes ok, but the second one (linux_fs) don't return
anything, I can't figure out what I'm doing wrong...

Think u could help me out?

-----Original Message-----
From: Peter Stuge [mailto:pe...@stuge.se]
Sent: sábado, 7 de Fevereiro de 2009 1:17
To: libssh2-devel@lists.sourceforge.net
Subject: Re: [libssh2] execute remote command and get result

Maverick wrote:
> I can connect, open a channel, write the command to the channel, but 
> read the output is not working :(

If you will be using a shell you may want to implement a fake terminal in
your client.

You may want to look into the exec channel type.


//Peter

----------------------------------------------------------------------------
--
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing
skills and code to build responsive, highly engaging applications that
combine the power of local resources and data with the reach of the web.
Download the Adobe AIR SDK and Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to