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.