sftp file Upload and download (window upload file to Linux server)

Source: Internet
Author: User

First, File upload

Illustration 1: Upload a file uploaded to Linux on the window

Note 2: Uploaded files are automatically placed in the current user's home directory

1: Open the SFTP window

Alt+p

Enter the upload command:

Grammar:

Put Path/filename.txt

Put-r path/Folder

Or

Put "Path/filename.txt"

Put-r "path/folder"

Again or

Direct drag (some bad make)

Second, the file download

Inside the sftp window

1: Set the destination path you want to download

Note If you do not set the destination path for the download the default path is the home of window

Syntax structure:

The target path for the LCD to download

Get "files to download"

Download folder:

Switch to download directory

Get–r "folder to download" (absolute path)

sftp file Upload and download (window upload file to Linux server)

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.