Hey i was wondering if there is a way to remove or add files via the ftp .net this is the code i have so far it work all im able to do tho is look at them cant edit cant even open all i can it login to my ftp...
SOURCE CODE
Public Class Form1
Private Sub btnConnect_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnConnect.Click
Try
' Clear the list-box
FilesListBox.Items.Clear()
' Set server and log-in properties
FtpConnection1.ServerAddress = ServerTextBox.Text
FtpConnection1.ServerPort = Integer.Parse(PortTextBox.Text)
FtpConnection1.UserName = UserTextBox.Text
FtpConnection1.Password = PasswordTextBox.Text
' Connect, get files and close
FtpConnection1.Connect()
FilesListBox.Items.AddRange(FtpConnection1.GetFiles())
FtpConnection1.Close()
Catch ex As Exception
If FtpConnection1.IsConnected Then
FtpConnection1.Close()
End If
MessageBox.Show(Me, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
End Sub
End Class
i have the new vb.net express...
thank you for your help and i hope someone can help me