private static void DoAppendFile(FtpsClient client) { var localPathName = _commandArguments[0]; var remotePathName = GetRemotePathName(localPathName); client.AppendFile(localPathName, remotePathName, TransferCallback); }