[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find working directory


On Thursday 18 October 2012 17:55:21 Christophe Baribaud wrote:
> Does anyone know how to retrieve the current remote working directory with
> stfp ?

I don't think there is a way.

> The linux "sftp" program has the "pwd" command. I haven't found how to do
> it with libssh

The sftp binary from openssh keeps track of the directory changes. It has a 
variable pwd. If you change the pass it is adjusted. Each function has a pwd 
argument.


	-- andreas


-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


Follow-Ups:
Re: find working directoryAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
find working directoryChristophe Baribaud <christophe.baribaud@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org