6.2.8 The lcd
and lpwd
commands: changing the local working directory
As well as having a working directory on the remote server, PSFTP also has a working directory on your local machine (just like any other Windows process). This is the default local directory that other commands will operate on. For example, if you type get filename.dat
then PSFTP will save the resulting file as filename.dat
in your local working directory.
To change your local working directory, use the lcd
command. To display your current local working directory, type lpwd
.