diff --git a/src/Renci.SshNet/SftpClient.cs b/src/Renci.SshNet/SftpClient.cs
index 86e8368e..6403ce88 100644
--- a/src/Renci.SshNet/SftpClient.cs
+++ b/src/Renci.SshNet/SftpClient.cs
@@ -1000,13 +1000,13 @@ namespace Renci.SshNet
#region File Methods
///
- /// Appends lines to a file, and closes the file.
+ /// Appends lines to a file, creating the file if it does not already exist.
///
/// The file to append the lines to. The file is created if it does not already exist.
/// The lines to append to the file.
/// isnull -or- is null.
/// Client is not connected.
- /// was not found on the remote host.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
/// The characters are written to the file using UTF-8 encoding without a Byte-Order Mark (BOM)
@@ -1028,14 +1028,14 @@ namespace Renci.SshNet
}
///
- /// Appends lines to a file by using a specified encoding, and closes the file.
+ /// Appends lines to a file by using a specified encoding, creating the file if it does not already exist.
///
/// The file to append the lines to. The file is created if it does not already exist.
/// The lines to append to the file.
/// The character encoding to use.
/// is null. -or- is null. -or- is null.
/// Client is not connected.
- /// was not found on the remote host.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
public void AppendAllLines(string path, IEnumerable contents, Encoding encoding)
{
@@ -1054,13 +1054,13 @@ namespace Renci.SshNet
}
///
- /// Appends the specified string to the file, and closes the file.
+ /// Appends the specified string to the file, creating the file if it does not already exist.
///
/// The file to append the specified string to.
/// The string to append to the file.
/// is null. -or- is null.
/// Client is not connected.
- /// was not found on the remote host.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
/// The characters are written to the file using UTF-8 encoding without a Byte-Order Mark (BOM).
@@ -1074,14 +1074,14 @@ namespace Renci.SshNet
}
///
- /// Appends the specified string to the file, and closes the file.
+ /// Appends the specified string to the file, creating the file if it does not already exist.
///
/// The file to append the specified string to.
/// The string to append to the file.
/// The character encoding to use.
/// is null. -or- is null. -or- is null.
/// Client is not connected.
- /// was not found on the remote host.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
public void AppendAllText(string path, string contents, Encoding encoding)
{
@@ -1092,7 +1092,8 @@ namespace Renci.SshNet
}
///
- /// Creates a that appends UTF-8 encoded text to an existing file.
+ /// Creates a that appends UTF-8 encoded text to the specified file,
+ /// creating the file if it does not already exist.
///
/// The path to the file to append to.
///
@@ -1101,7 +1102,7 @@ namespace Renci.SshNet
///
/// is null.
/// Client is not connected.
- /// was not found on the remote host.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
public StreamWriter AppendText(string path)
{
@@ -1109,16 +1110,17 @@ namespace Renci.SshNet
}
///
- /// Creates a that appends text to an existing file using the specified encoding.
+ /// Creates a that appends text to a file using the specified
+ /// encoding, creating the file if it does not already exist.
///
/// The path to the file to append to.
/// The character encoding to use.
///
- /// A that appends text to an existing file using the specified encoding.
+ /// A that appends text to a file using the specified encoding.
///
/// is null. -or- is null.
/// Client is not connected.
- /// was not found on the remote host.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
public StreamWriter AppendText(string path, Encoding encoding)
{
@@ -1139,6 +1141,7 @@ namespace Renci.SshNet
///
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
/// If the target file already exists, it is first truncated to zero bytes.
@@ -1160,6 +1163,7 @@ namespace Renci.SshNet
///
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
/// If the target file already exists, it is first truncated to zero bytes.
@@ -1202,10 +1206,11 @@ namespace Renci.SshNet
/// The file to be opened for writing.
/// The character encoding to use.
///
- /// A that writes to the specified file using the specified encoding.
+ /// A that writes to a file using the specified encoding.
///
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1570,6 +1575,7 @@ namespace Renci.SshNet
/// The bytes to write to the file.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1594,6 +1600,7 @@ namespace Renci.SshNet
/// The lines to write to the file.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1618,6 +1625,7 @@ namespace Renci.SshNet
/// The string array to write to the file.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1643,6 +1651,7 @@ namespace Renci.SshNet
/// The character encoding to use.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1671,6 +1680,7 @@ namespace Renci.SshNet
/// An object that represents the character encoding applied to the string array.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1698,6 +1708,7 @@ namespace Renci.SshNet
/// The string to write to the file.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///
@@ -1726,6 +1737,7 @@ namespace Renci.SshNet
/// The encoding to apply to the string.
/// is null.
/// Client is not connected.
+ /// The specified path is invalid, or its directory was not found on the remote host.
/// The method was called after the client was disposed.
///
///