Use the Linux File Upload/download command

Source: Internet
Author: User

In Linux, files can be uploaded directly from the client to the server. Command Format:

SCP files user @ server: filepath

Explanation:

Files files to be uploaded can contain multiple files, which are separated by spaces. You can also use *. filetype to upload all files of a certain type.

User: username used to log on to the server

Server server name (IP address or domain name)

The target path of the filepath to be uploaded to the server (note that this user must have the read and write permissions on this path)

 

If you download files from other Linux systems to a local computer, you can use:

SCP user @ server: Files client_file_path

Explanation:

User: username used to log on to the server

Server server name (IP address or domain name)

Files files to be downloaded

Client_file_path

 

In Linux, you can also download files from the Internet using commands. Command Format:

Lftp-c "pget-N 5 http: // downpath"

Explanation:

Lftp File Download command, transmitted through FTP Channel

Pget-N 5 O is not clear about the meaning here -_-

Http: // downpathConnection address of the file to be downloaded

Related Article

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.