@brief Set file attributes on a file, directory or symbolic link.
@param sftp The sftp session handle.
@param file The file which attributes should be changed.
@param attr The file attributes structure with the attributes set which should be changed.
@return 0 on success, < 0 on error with ssh and sftp error set.
@see sftp_get_error()
See Implementation
@brief Set file attributes on a file, directory or symbolic link.
@param sftp The sftp session handle.
@param file The file which attributes should be changed.
@param attr The file attributes structure with the attributes set which should be changed.
@return 0 on success, < 0 on error with ssh and sftp error set.
@see sftp_get_error()