Exemple #1
0
 public UserMkDir(bool Linux = false, ftp ftpClientIn = null, string ServerPathin = "")
 {
     InitializeComponent();
     Linuxiod   = Linux;
     ftpClient  = ftpClientIn;
     ServerPath = ServerPathin;
 }
Exemple #2
0
 public UserMove(string Starter, bool Linux = false, ftp ftpClientIn = null, string ServerPathIn = "")
 {
     InitializeComponent();
     textBox1.Text = Starter;
     Main          = Starter;
     Linuxiod      = Linux;
     ftpClient     = ftpClientIn;
     ServerPath    = ServerPathIn;
 }
Exemple #3
0
 private void button1_Login_Click(object sender, EventArgs e)
 {
     try
     {
         ftpClient  = new ftp(server, name, pass); //1 - number
         ServerIsOn = true;
         UpdateServerBoxList();
     }
     catch (Exception err)
     {
         MessageBox.Show(err.Message);
     }
 }