| Age | Commit message (Collapse) | Author |
|
With help of spdxconv tool [1], we able to bulk update all files license
and copyright format to comply with SPDX formats.
[1] https://kilabit.info/project/spdxconv/
|
|
|
|
|
|
The OpenFile method open remote file with custom flag and with specific
file attributes.
|
|
This changes check and return an error if
* the server does not support sftp subsystem as ErrSubsystem
* the client does not support the server version as ErrVersion
Some response status code from server actually can be mapped to
predefined errors from standar package, in this case
* io.EOF for SSH_FX_EOF (status code 1)
* fs.ErrNotExist for SSH_FX_NO_SUCH_FILE (status code 2)
* fs.ErrPermission for SSH_FX_PERMISSION_DENIED
Other errors are handled by wrapping ErrXxx variable withresponse message.
|
|
The sftp package extend the golang.org/x/crypto/ssh package by
implementing "sftp" subsystem using the ssh.Client connection.
|