Bootstrap FreeKB - FTP and Secure FTP (FTPS, SFTP) - list remote present working directory using the pwd command
FTP and Secure FTP (FTPS, SFTP) - list remote present working directory using the pwd command


There are a number of ways to securely transfer files between systems.

  • The PSFTP command line tool can be used to for SFTP (Secure FTP) to securetly transfer files between systems, from a remote system to your PC, or vice versa. This has the advantage of being able to transfer files between Linux, Mac and Windows systems.
  • The scp command (Secure Copy Protocol) could be used to securely transfer files between Linux systems.

There are a number of different tools that can be used to connect to an FTP / FTPS / SFTP server.

  • Windows or Linux command line prompt
  • Scripting tool (e.g. Bash, Perl, PowerShell, Python, et cetera)
  • The PSFTP command line tool PSFTP.exe (see Installing PuTTY PSFTP)

The pwd (remote present working directory) command is used to display your present working directory (pwd) on the remote FTP system (not on your local PC). In this example, the pwd command is used to show that /tmp is the remote present working directory.

ftp> pwd
Remote directory is /tmp

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter 8b43ca in the box below so that we can be sure you are a human.