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 [email protected]