-
Notifications
You must be signed in to change notification settings - Fork 589
sftp: implement posix-rename@openssh.com #1386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d030545
to
a27185c
Compare
vszakats
reviewed
May 10, 2024
vszakats
reviewed
May 10, 2024
vszakats
reviewed
May 10, 2024
vszakats
reviewed
May 10, 2024
vszakats
reviewed
May 10, 2024
vszakats
reviewed
May 10, 2024
a27185c
to
d1061da
Compare
vszakats
reviewed
Jun 26, 2024
vszakats
reviewed
Jun 26, 2024
vszakats
reviewed
Jun 26, 2024
vszakats
reviewed
Jun 26, 2024
vszakats
reviewed
Jun 26, 2024
vszakats
reviewed
Jun 26, 2024
vszakats
reviewed
Jun 26, 2024
This commit adds a new function, libssh2_sftp_posix_rename_ex, which implements the posix-rename@openssh.com extension. If the server does not support this extension, the function will return LIBSSH2_FX_OP_UNSUPPORTED and it will be up to the user to recover, possibly by calling libssh2_sftp_rename.
and check bounds
👍 to bumping to size_t. |
Thanks, it's merged now! |
agreppin
pushed a commit
to agreppin/libssh2
that referenced
this pull request
Jul 14, 2024
Add a new function `libssh2_sftp_posix_rename_ex()` and `libssh2_sftp_posix_rename()`, which implement the posix-rename@openssh.com extension. If the server does not support this extension, the function returns `LIBSSH2_FX_OP_UNSUPPORTED` and it's up to the user to recover, possibly by calling `libssh2_sftp_rename()`. Co-authored-by: Viktor Szakats (bump to size_t) Closes libssh2#1386
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This commit adds a new function, libssh2_sftp_posix_rename_ex, which implements the posix-rename@openssh.com extension.
If the server does not support this extension, the function will return LIBSSH2_FX_OP_UNSUPPORTED and it will be up to the user to recover, possibly by calling libssh2_sftp_rename.