You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <exception cref="ArgumentNullException"><paramref name="output"/> is <see langword="null"/>.</exception>
565
-
/// <exception cref="ArgumentException"><paramref name="path"/> is <see langword="null"/> or contains only whitespace characters.</exception>
564
+
/// <exception cref="ArgumentNullException"><paramref name="output"/> or <paramref name="path"/> is <see langword="null"/>.</exception>
565
+
/// <exception cref="ArgumentException"><paramref name="path"/> is empty or contains only whitespace characters.</exception>
566
566
/// <exception cref="SshConnectionException">Client is not connected.</exception>
567
-
/// <exception cref="SftpPermissionDeniedException">Permission to perform the operation was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
568
-
/// <exception cref="SftpPathNotFoundException"><paramref name="path"/> was not found on the remote host.</exception>///
569
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
567
+
/// <exception cref="SftpPermissionDeniedException">Permission to perform the operation was denied by the remote host. <para>-or-</para> An SSH command was denied by the server.</exception>
568
+
/// <exception cref="SftpPathNotFoundException"><paramref name="path"/> was not found on the remote host.</exception>
569
+
/// <exception cref="SshException">An SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
570
570
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
571
-
/// <remarks>
572
-
/// Method calls made by this method to <paramref name="output" />, may under certain conditions result in exceptions thrown by the stream.
/// Asynchronously downloads remote file specified by the path into the stream.
574
+
/// Asynchronously downloads a remote file into a <see cref="Stream"/>.
578
575
/// </summary>
579
-
/// <param name="path">File to download.</param>
580
-
/// <param name="output">Stream to write the file into.</param>
576
+
/// <param name="path">The path to the remote file.</param>
577
+
/// <param name="output">The <see cref="Stream"/> to write the file into.</param>
581
578
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to observe.</param>
582
579
/// <returns>A <see cref="Task"/> that represents the asynchronous download operation.</returns>
583
-
/// <exception cref="ArgumentNullException"><paramref name="output"/> is <see langword="null"/>.</exception>
584
-
/// <exception cref="ArgumentException"><paramref name="path"/> is <see langword="null"/> or contains only whitespace characters.</exception>
580
+
/// <exception cref="ArgumentNullException"><paramref name="output"/> or <paramref name="path"/> is <see langword="null"/>.</exception>
581
+
/// <exception cref="ArgumentException"><paramref name="path"/> is empty or contains only whitespace characters.</exception>
585
582
/// <exception cref="SshConnectionException">Client is not connected.</exception>
586
-
/// <exception cref="SftpPermissionDeniedException">Permission to perform the operation was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
587
-
/// <exception cref="SftpPathNotFoundException"><paramref name="path"/> was not found on the remote host.</exception>///
588
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
583
+
/// <exception cref="SftpPermissionDeniedException">Permission to perform the operation was denied by the remote host. <para>-or-</para> An SSH command was denied by the server.</exception>
584
+
/// <exception cref="SftpPathNotFoundException"><paramref name="path"/> was not found on the remote host.</exception>
585
+
/// <exception cref="SshException">An SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
589
586
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
590
-
/// <remarks>
591
-
/// Method calls made by this method to <paramref name="output" />, may under certain conditions result in exceptions thrown by the stream.
/// <exception cref="ArgumentNullException"><paramref name="input" /> is <see langword="null"/>.</exception>
1098
-
/// <exception cref="ArgumentException"><paramref name="path" /> is <see langword="null"/> or contains only whitespace characters.</exception>
1091
+
/// <exception cref="ArgumentNullException"><paramref name="input" /> or <paramref name="path" /> is <see langword="null"/>.</exception>
1092
+
/// <exception cref="ArgumentException"><paramref name="path" /> is empty or contains only whitespace characters.</exception>
1099
1093
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1100
-
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
1101
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1094
+
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> An SSH command was denied by the server.</exception>
1095
+
/// <exception cref="SshException">An SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1102
1096
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
1103
-
/// <remarks>
1104
-
/// Method calls made by this method to <paramref name="input" />, may under certain conditions result in exceptions thrown by the stream.
/// <exception cref="ArgumentNullException"><paramref name="input" /> is <see langword="null"/>.</exception>
1116
-
/// <exception cref="ArgumentException"><paramref name="path" /> is <see langword="null"/> or contains only whitespace characters.</exception>
1106
+
/// <exception cref="ArgumentNullException"><paramref name="input" /> or <paramref name="path" /> is <see langword="null"/>.</exception>
1107
+
/// <exception cref="ArgumentException"><paramref name="path" /> is empty or contains only whitespace characters.</exception>
1117
1108
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1118
-
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
1119
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1109
+
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> An SSH command was denied by the server.</exception>
1110
+
/// <exception cref="SshException">An SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1120
1111
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
1121
-
/// <remarks>
1122
-
/// Method calls made by this method to <paramref name="input" />, may under certain conditions result in exceptions thrown by the stream.
/// <param name="input">The <see cref="Stream"/> to write to the remote path.</param>
1118
+
/// <param name="path">The remote file path to write to.</param>
1131
1119
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to observe.</param>
1132
1120
/// <returns>A <see cref="Task"/> that represents the asynchronous upload operation.</returns>
1133
-
/// <exception cref="ArgumentNullException"><paramref name="input"/> is <see langword="null"/>.</exception>
1134
-
/// <exception cref="ArgumentException"><paramref name="path" /> is <see langword="null"/> or contains only whitespace characters.</exception>
1121
+
/// <exception cref="ArgumentNullException"><paramref name="input"/> or <paramref name="path"/> is <see langword="null"/>.</exception>
1122
+
/// <exception cref="ArgumentException"><paramref name="path" /> is empty or contains only whitespace characters.</exception>
1135
1123
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1136
-
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
1137
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1124
+
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> An SSH command was denied by the server.</exception>
1125
+
/// <exception cref="SshException">An SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1138
1126
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
/// <exception cref="ArgumentNullException"><paramref name="output" /> is <see langword="null"/>.</exception>
903
-
/// <exception cref="ArgumentException"><paramref name="path" /> is <see langword="null"/> or contains only whitespace characters.</exception>
904
-
/// <exception cref="SshConnectionException">Client is not connected.</exception>
905
-
/// <exception cref="SftpPermissionDeniedException">Permission to perform the operation was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
906
-
/// <exception cref="SftpPathNotFoundException"><paramref name="path"/> was not found on the remote host.</exception>///
907
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
908
-
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
909
-
/// <remarks>
910
-
/// Method calls made by this method to <paramref name="output" />, may under certain conditions result in exceptions thrown by the stream.
/// <exception cref="ArgumentNullException"><paramref name="input" /> is <see langword="null"/>.</exception>
1041
-
/// <exception cref="ArgumentException"><paramref name="path" /> is <see langword="null"/> or contains only whitespace characters.</exception>
1042
-
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1043
-
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
1044
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1045
-
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
1046
-
/// <remarks>
1047
-
/// Method calls made by this method to <paramref name="input" />, may under certain conditions result in exceptions thrown by the stream.
/// <exception cref="ArgumentNullException"><paramref name="input" /> is <see langword="null"/>.</exception>
1062
-
/// <exception cref="ArgumentException"><paramref name="path" /> is <see langword="null"/> or contains only whitespace characters.</exception>
1063
-
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1064
-
/// <exception cref="SftpPermissionDeniedException">Permission to upload the file was denied by the remote host. <para>-or-</para> A SSH command was denied by the server.</exception>
1065
-
/// <exception cref="SshException">A SSH error where <see cref="Exception.Message" /> is the message from the remote host.</exception>
1066
-
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
1067
-
/// <remarks>
1068
-
/// Method calls made by this method to <paramref name="input" />, may under certain conditions result in exceptions thrown by the stream.
0 commit comments