Set maximum packet size for sftp upload #798
Unanswered
IvanMoscovic
asked this question in
Q&A
Replies: 1 comment
-
The Connection.setMaxPacketSize() method supports configuring the local maximum packet size in bytes. The default value is 32 KB. The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, may I ask if there is any possibility to set maximum packet size for sftp upload? We are having problems with bad network connection in some places, where we need to upload some bigger files and from what I found in the code, packet size is determined from MTU (max transfer unit) on the device. Is there any chance how to set it for net.schmizz.sshj.sftp.SftpClient?
Beta Was this translation helpful? Give feedback.
All reactions