我有一个文件>500 MB可以使用sftp连接下载,我尝试使用pysptp并获得错误SSHException: Server connection dropped:。with pysftp.Connection(host=myHostname, username=myUsername, password=myPassword,cnopts=cnopts) as sftpremoteFilePath = sftp.listdir('/folder/')
for filename in re
我正在使用jsch连接到sftp服务器并下载文件。错误是received message is too long。
可以下载的最大文件大小是多少?是否有任何配置可以更改最大大小限制?session.setConfig("StrictHostKeyChecking","no");session.connect();sftpChannel = (ChannelSftp)session.openChannel("sftp"