Psftp using a simple tutorial

Source: Internet
Author: User
Tags file transfer protocol

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.