Subject: Re: Change working directory

Re: Change working directory

From: Uli Zappe <uli_at_ritual.org>
Date: Tue, 14 Sep 2010 10:59:32 +0200

Am 14.09.2010 um 10:52 schrieb Paresh Thakor:

> But do exit when you have completed with libssh2, else let is be in open mode. Otherwise commands will not work.

The "exit" in my code snipped just finishes execution of the script. Of course, you have to do proper cleanup for libssh2 afterwards.

            Bye
                    Uli
________________________________________________________

  Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
  http://www.ritual.org
  Fon: +49-700-ULIZAPPE
  Fax: +49-700-ZAPPEFAX
________________________________________________________

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-09-14