SftpClient AppendAllLines Method (String, IEnumerable String )SSH .NET Client Library Documentation
Appends lines to a file, and then closes the file.

Namespace: Renci.SshNet
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public void AppendAllLines(
	string path,
	IEnumerable<string> contents
)

Parameters

path
Type: OnlineSystem String
The file to append the lines to. The file is created if it does not already exist.
contents
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
The lines to append to the file.
Exceptions

See Also