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

CURLOPT_PREQUOTE not working for SFTP #1514

Closed
MonkeybreadSoftware opened this Issue May 29, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@MonkeybreadSoftware
Contributor

MonkeybreadSoftware commented May 29, 2017

We use libCURL and CURLOPT_PREQUOTE works fine for FTP.
But for SFTP (SSH), the CURLOPT_QUOTE and CURLOPT_POSTQUOTE work.

We would like to use CURLOPT_PREQUOTE for a mkdir command, but it is not executed.

Tested with LibCURL 7.53.1, LibSSH 1.8.0.

@bagder bagder added the SCP/SFTP label May 29, 2017

@bagder

This comment has been minimized.

Member

bagder commented May 29, 2017

Ack. Seems we just never implemented PREQUOTE for SFTP, contrary to what the documentation claims...

@bagder bagder closed this in 8bc9cab Jun 17, 2017

@bagder

This comment has been minimized.

Member

bagder commented Jun 17, 2017

Thanks for pointing this out. Unfortunately the only "fix" so far is adding this issue to the TODO and an update to the man page so that the list of protocols for which the option works is correct.

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.