Where does the “get” command in PSFTP (PuTTY) save the file

psftpputtysftpssh

I'm used to running ssh on a Unix command-line and am working for the first time with PuTTY on Windows. When I type

get file.txt

on the PSFTP command line, where does file.txt go? PSFTP returned:

remote:/somedirectories/file.txt => local:file.txt

but I can't find the file locally.

Thanks!

Best Answer

It saves it in the local working directory. You can see the local working directory by typing:

lpwd

You can change the local working directory using:

lcd \path\to\new\dir
Related Question