Skip to content
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

sftp: Add new quote commands 'atime' and 'mtime' #5810

wants to merge 1 commit into from


Copy link

@COFFEETALES COFFEETALES commented Aug 13, 2020

In some situations, you may have to change the modified or last accessed date of a specific file.
This PR add new quote commands for sftp only.

sshc->quote_attrs->flags |= SSH_FILEXFER_ACMODTIME;

This comment has been minimized.


emilengler Aug 14, 2020

The two else if statements look very similar.
Why not try to put them into one and obfuscate the code a bit :-)

docs/cmdline-opts/quote.d Outdated Show resolved Hide resolved
@bagder bagder added the SCP/SFTP label Aug 14, 2020
@COFFEETALES COFFEETALES requested a review from bagder Aug 16, 2020
bagder approved these changes Aug 16, 2020
Copy link

@bagder bagder commented Aug 24, 2020


@bagder bagder closed this in fab5185 Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.