imports fluentftp Sub Button1_Click_1(sender As Object, e As EventArgs) Handles Button1.Click Try Using Client As New FtpClient("server") Client.Credentials = New NetworkCredential(usename, password) Client.Connect() Client.UploadFile("test.txt", "STOR", "C:\!Temp\test.txt") MessageBox.Show("sent textfile") End Using Catch ex As Exception MsgBox(ex.Message) End Try End Sub
Using Client As New FtpClient("server")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)