Linux obtains remote files through sftp

Source: Internet
Author: User
Linux remote file acquisition through sftp Txt code linux remote file acquisition through sftp steps: 1) sftpusername @ hostname // enable the default port www.2cto.com//if you want to specify the port number, the syntax is: sftp-pportusername@hostname//or... linux remote file acquisition through sftp Txt code linux remote file acquisition through sftp steps: 1) sftp username @ hostname // enable the default port www.2cto.com // syntax to specify the port number: sftp-P port username @ hostname // or sftp username @ hostname # port 2) enter the password username used to connect to the remote service. 3) binary // select the file transfer mode as binary // optional values: binary and ascii. // Sftp binary ascii difference: binary mode does not process any data, // ascii mode converts the carriage return line break to this-level carriage return character. 4) get filename // download the remote file to the local device 5) exit // exit sftp
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.