private static void DoAppendFile(FTPSClient client) { string localPathName = commandArguments[0]; string remotePathName = GetRemotePathName(localPathName); client.AppendFile(localPathName, remotePathName, new FileTransferCallback(TransferCallback)); }