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!