junlong hong

Results 10 comments of junlong hong

参考大佬的评论 这样实现可以几乎跑满我服务器的带宽,适当调节缓冲区大小和请求数 ` ServletOutputStream outputStream = response.getOutputStream(); SFTPClient sftp = getSftp(id); RemoteFile readFile = sftp.open(remotePath); RemoteFile.ReadAheadRemoteFileInputStream readAheadRemoteFileInputStream = readFile.new ReadAheadRemoteFileInputStream( 15); BufferedInputStream inputStream = new BufferedInputStream(readAheadRemoteFileInputStream, 1024 * 1024); inputStream.transferTo(outputStream);...

使用ReadAheadRemoteFileInputStream提升空间很大 BufferedInputStream也是 ,sshClient.useCompression();对部分文件有提升

I added a drag and drop listening feature on the left tab ` current.newDragSource(tabBarRef.value[i], (e) => { return { title: serverList.value[i].name, type: 'component', componentType: 'termComponent', componentState: { server: { ...serverList.value[i],...

https://github.com/golden-layout/golden-layout/assets/77563386/144ecb09-a141-46c7-896e-bc67019264b1 https://github.com/golden-layout/golden-layout/assets/77563386/05905b46-b81a-45e4-91b7-14425f8a7d17

Do you have any corresponding documentation or tutorials on how to use dev branch drag and drop to generate window APIs

What I actually want is the new newDragSource API, and once the development is completed, I will be the first to use it. thanks

![image](https://github.com/hierynomus/sshj/assets/77563386/629dedc5-6c7d-47d8-9cc3-0104a71d5004)