#include <libssh2.h> #include <libssh2_sftp.h>
int libssh2_sftp_mkdir_ex(LIBSSH2_SFTP *sftp, const char *path, unsigned int path_len, long mode);
sftp - SFTP instance as returned by libssh2_sftp_init,
path - full path of the new directory to create. Note that the new directory's parents must all exist prior to making this call.
path_len - length of the full path of the new directory to create.
mode - directory creation mode (e.g. 0755).
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
This HTML page was made with roffit.