Psftp is an SFTP tool under the Putty tool. SFTP (Secure file Transfer Protocol) Secure Files Transfer Protocol, SFTP is part of SSH and is a secure way to transfer files to the Blogger server. In fact, in the SSH package, a secure file transfer subsystem called SFTP (secure files Transfer Protocol) has been included, and SFTP itself does not have a separate daemon. It must use the sshd daemon (the port number by default is 22) to complete the corresponding connection operation, so in a sense, sftp is not like a server program, but more like a client program. SFTP is primarily a common tool used to remotely transfer files to Linux.
Here's a look at the use of the Psftp tool:
Pstp:http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Common commands:
1, CD switch directory. eg. Cd/root
2, ls view directory file. eg. Ls/root View the target directory file; LS View the current directory file
3. Get [FileName] to download the file to the current local directory. eg. Get discuz.zip Download the Discuz.zip file in the remote current directory
4. get-r [dir] recursively downloads all files in a remote directory to the current local directory, which is the download folder . eg. Get-r/root/discuz to download the Discuz folder to a local
5. Put [fileName] long pass file to remote current directory. eg. Put Discuz.zip
6, Put-r [dir] recursively uploads all files of a local folder to the remote destination directory, which is the upload folder . eg. Put-r E:/discuz
7. Delete [Filename/dir] Deletes a file or folder
Psftp using a simple tutorial