sftp_get_error

@brief Get the last sftp error.

Use this function to get the latest error set by a posix like sftp function.

@param sftp The sftp session where the error is saved.

@return The saved error (see server responses), < 0 if an error in the function occured.

@see Server responses

extern (C)
int
sftp_get_error

Meta