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