commit | c1f47ba1b97e41037c26f1e3162b2f49c20edfd0 | [log] [tgz] |
---|---|---|
author | Peter Verraedt <peter@verraedt.be> | Thu Apr 25 16:45:56 2024 +0200 |
committer | Peter Verraedt <peter@verraedt.be> | Fri Apr 26 09:04:33 2024 +0200 |
tree | 266c5898ed3b1a41f2927b9ef97b70eb45f8416a | |
parent | 06342e8b90eaf9bc19442f8520c74f3e3de5da5c [diff] |
Add WithMaxTxPacket server option Add the WithMaxTxPacket and WithRSMaxTxPacket server options to increase the maximum tx packet size to a value above 32K. This allows to send bigger chunks of data to the client as response to a read request. As the client specifies the wanted length, it should be safe to increase the server maximum value. This in particular allows the implemented Client with the MaxPacketUnchecked option to retrieve data in larger chunks. Signed-off-by: Peter Verraedt <peter@verraedt.be>
The sftp
package provides support for file system operations on remote ssh servers using the SFTP subsystem. It also implements an SFTP server for serving files from the filesystem.
See https://pkg.go.dev/github.com/pkg/sftp for examples and usage.
The basic operation of the package mirrors the facilities of the os package.
The Walker interface for directory traversal is heavily inspired by Keith Rarick's fs package.
We welcome pull requests, bug fixes and issue reports.
Before proposing a large change, first please discuss your change by raising an issue.
For API/code bugs, please include a small, self contained code example to reproduce the issue. For pull requests, remember test coverage.
We try to handle issues and pull requests with a 0 open philosophy. That means we will try to address the submission as soon as possible and will work toward a resolution. If progress can no longer be made (eg. unreproducible bug) or stops (eg. unresponsive submitter), we will close the bug.
Thanks.