public void Ftp_AppendFile(FtpExecutionMode mode)
{
string uri = absoluteUri + Guid.NewGuid().ToString();
DoUpload(mode, WebRequestMethods.Ftp.UploadFile, uri, helloWorldBytes);
DoUpload(mode, WebRequestMethods.Ftp.AppendFile, uri, helloWorldBytes);
byte[] responseBytes = DoDownload(mode, WebRequestMethods.Ftp.DownloadFile, uri);
Assert.True(responseBytes.SequenceEqual(helloWorldBytes.Concat(helloWorldBytes)));
DoCommand(mode, WebRequestMethods.Ftp.DeleteFile, uri);
Assert.False(FileExists(mode, uri));
}