Psftp is part of putty and can be used independently, but it is recommended that you go to http://www.chiark.greenend.org.uk /~ Download the complete putty installation package from sgtatham/Putty/download.html. After the installation, you have an almost complete remote access solution.
Psftp is a client program that supports SFTP protocol. SFTP is often used for projects that upload files or maintain SourceForge in the Unix experience center. Currently, many clients that support SFTP, such as filezilla and coreftp, have graphic interfaces in windows. Psftp has no graphical interface, and all operations must be done by using commands. Sometimes this seemingly troublesome method is more efficient.
Open psftp, if you want to access the fedora server in the Unix experience center, enter the command open fedora.unix-center.net, and then you will be prompted to enter the user name and password, if correct, then you are successfully connected to the remote host.
The PWD command displays the current directory on the remote host. The ls or dir command lists the files in the current directory on the remote host, and the CD will be transferred to the corresponding directory on the remote host.
Similarly, lpwd displays the current directory on the local machine, and the LCD changes the current directory on the local machine. Psftp does not provide commands to list files in the current directory on the local machine. To do that, you can use "! Dir. "! "Indicates executing commands on the local machine.
GET/put is used to download/upload files, while mget/mput is used to download/upload files in batches. Del or RM is used to delete files on the remote host. After the operation is complete, use close to close the connection, or use quit, bye, or exit to close the connection and exit psftp. Other commands are required (few). If you change the CHMOD permission, move the file mV, and so on, you can view the attached help documentation.
Finally, the most important command is "help", which will list a list of psftp commands. If you cannot remember what commands to use, just make a help.