“OSError: size mismatch in get!” when retrieving files via SFTP using python
问题 I wrote a python script to download files from SFTP server using python using multithreading so that it could connect to multiple servers at a time and download files from them parallelly. It works fine for up to 10 connections but if there are 25 connections then this error shows up suppose there are 5000 files of size 130mb(almost) on each server to be downloaded The code often works successfully on subsequent tries or will run successfully for the first few files in the date range and then