geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

37 lines
1.2 KiB

  1. .TH libssh2_sftp_rmdir_ex 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_sftp_rmdir_ex - remove an SFTP directory
  4. .SH SYNOPSIS
  5. .nf
  6. #include <libssh2.h>
  7. #include <libssh2_sftp.h>
  8. int libssh2_sftp_rmdir_ex(LIBSSH2_SFTP *sftp, const char *path,
  9. unsigned int path_len);
  10. .SH DESCRIPTION
  11. Remove a directory from the remote file system.
  12. \fIsftp\fP - SFTP instance as returned by
  13. .BR libssh2_sftp_init(3)
  14. \fIsourcefile\fP - Full path of the existing directory to remove.
  15. \fIsourcefile_len\fP - Length of the full path of the existing directory to
  16. remove.
  17. .SH RETURN VALUE
  18. Return 0 on success or negative on failure. It returns
  19. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  20. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
  21. .SH ERRORS
  22. \fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
  23. \fILIBSSH2_ERROR_SOCKET_SEND\fP - Unable to send data on socket.
  24. \fILIBSSH2_ERROR_SOCKET_TIMEOUT\fP -
  25. \fILIBSSH2_ERROR_SFTP_PROTOCOL\fP - An invalid SFTP protocol response was
  26. received on the socket, or an SFTP operation caused an errorcode to
  27. be returned by the server.
  28. .SH SEE ALSO
  29. .BR libssh2_sftp_init(3)