Example #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     client2 = new FTPClient(txt_address.Text, "/", txt_user.Text, txt_pswd.Text, 21);
     new Thread(new ThreadStart(GetFile)).Start();
 }
Example #2
0
 private void btn_upload_Click(object sender, EventArgs e)
 {
     client1 = new FTPClient(txt_address.Text, "/", txt_user.Text, txt_pswd.Text, 21);
     new Thread(new ThreadStart(UploadFile)).Start();
 }