SFTP_EXT_POSIX_RENAME
int r, use_ext = (conn->exts & SFTP_EXT_POSIX_RENAME) && !force_legacy;
ret->exts |= SFTP_EXT_POSIX_RENAME;