How to solve "Encountered20errorsduringthetransfer" When uploading files to Ubuntu through ssh

Source: Internet
Author: User
Today, the "Encountered20errorsduringthetransfer" error suddenly occurred while uploading files to Ubuntu through ssh! I searched some information on the Internet and finally solved it myself! Below we will share some of the information we have collected with you! And some of your own exploration and discovery! Long live sharing! Solution to the above error! I found several methods on the Internet: method 1. Check the parent directory (folder) of the file you want to upload and check whether the folder name is "(

Today, the "Encountered 20 errors during the transfer" error suddenly occurred while uploading files to Ubuntu through ssh! I searched some information on the Internet and finally solved it myself! Below we will share some of the information we have collected with you! And some of your own exploration and discovery! Long live sharing!

Solution to the above error! I found several methods on the Internet:

Method 1: Check the parent directory (folder) of the file to be uploaded and check whether the folder name is "()" or "[]". If yes, remove the brackets. For example, change "new folder (9)" to "new folder 9 ". (The above special characters are not displayed on my issue)

Method 2: In SSH Secure File Transfer (the File to be uploaded), open the "Operation" menu, open the "File Transfer Mode" sub-menu, and then select "Binary", OK! (I tried this method. It works, but it will appear again later, but it still does not fundamentally solve my problem)

Method 3: service ssh restart check to restart the service (/etc/init. d/sshd restart ). (This method not only failed to solve my problem, but caused another ssh problem, so it still failed to solve)

Method 4: If the file is on the desktop, copy the file to be uploaded to another partition and upload it again! Or delete the file with the same name on the server and then upload it. (My files are stored in other partitions, So I failed to try this method)

Method 5, to the http://winscp.net/eng/index.php to download WInSCP, and then pass! (I haven't tried this method either, because I made it through the following method)

Method 6: Increase the virtual hard disk space (I did it through this method)

The preceding six solutions are provided! Each person may encounter different problems! But the method is worth a try! For my question, when I upload a file, because my file is too large (more than 4G), when the remaining virtual hard disk of Ubuntu is less than a certain value, insufficient available hard disks will be reported! In this case, the above errors will also occur. In this case, we have to increase the size of our virtual hard disk in some ways!

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.