Linux File Upload

Source: Internet
Author: User

Rented a server, to the war package to hit the release, the server is Linux (this Mac). Previously used wget command, the need to upload things first put on GitHub and then on the server with the wget command download. Recently do not know what reason, wget download things have a problem, downloaded something only dozens of KB, is not the original file upload, found not only GitHub files, other Web site files using wget download also have this problem. So yesterday toss a long time, try the next Zmodem, detailed operation see:

http://danqingdani.blog.163.com/blog/static/18609419520141201215750

After installing the command+, the key is set ITEM2 trigger. Then start item2,

My operation is to use the item terminal SSH to the server, the above implementation of the RZ command, garbled:

Then ask a friend to say that this item does not support Zmodem, but I am under the latest item2, should be supported, the friend of the item directly can open the file box to select the file. It seems Zmodem can't.

Then find a way to use the SCP command on the Web, specifically:

Http://www.vpser.net/manage/scp.html

SCP  /home/lnmp0.4.tar.gz [email protected]:/xx/download

/home/lnmp0.4.tar.gz is a local file, root refers to your server user, Www.vpser.net is your server address, can be IP address,/xx/download is the server folder path. The first time you try to error permission denied, Google found that the folder is root established, the current user xx does not have write permission, and can not add files on the above God horse, you need to write permissions to the folder permission to release.

chmod 777/xx/download

Again Scp,ok, file upload success.

Linux File Upload

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.