My code is send empty files. The file that I am trying to send is from a fileupload control. Any ideas?
1 Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
2 'Values to use
3 Dim localFile As String = FileUpload1.FileName
4 Dim remoteFile As String = "/httpdocs/" & FileUpload1.FileName
5 Const host As String = "ftp://mydomain.com"
6 Const username As String = Go to the complete details ...