Example #1
0
 private void FTPCreateDirectory()
 {
     using (InputBox ib = new InputBox {
         Text = "Create directory", Question = "Please enter the name of the directory which should be created:"
     })
     {
         ib.ShowDialog();
         BringToFront();
         if (ib.DialogResult == DialogResult.OK)
         {
             FTPAdapter.MakeDirectory(Helpers.CombineURL(currentDirectory, ib.InputText));
             RefreshDirectory();
         }
     }
 }