Beispiel #1
0
    static void Rename(string [] Input)
    {
        if (!Client.IsConnected)
        {
            Console.WriteLine("Please connect to a server first.");
            return;
        }
        string RenameTo;

        if (Input.Length > 1)
        {
            Input[0] = String.Join(" ", Input);
        }
        Console.Write("Rename file to: ");
        RenameTo = Console.ReadLine();
        Client.Rename(Input[0], RenameTo);
    }