SftpClient connection succeeds and an empty file is created upon calling UploadFile with a stream, but the call hangs indefinitely when the server refuses to accept file contents (regardless of client timeout setting). The UploadFile call should throw an exception instead at least after timeout.
Attempting to upload with FileZilla on the same server results in error: error while writing: received unknown error code 14 with description 'No space available.'.
I'm not in control of the sftp server so I cannot investigate that end. Might be badly behaving server software.