public UserMkDir(bool Linux = false, ftp ftpClientIn = null, string ServerPathin = "") { InitializeComponent(); Linuxiod = Linux; ftpClient = ftpClientIn; ServerPath = ServerPathin; }
public UserMove(string Starter, bool Linux = false, ftp ftpClientIn = null, string ServerPathIn = "") { InitializeComponent(); textBox1.Text = Starter; Main = Starter; Linuxiod = Linux; ftpClient = ftpClientIn; ServerPath = ServerPathIn; }
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); } }