Hi,
I have managed to get the connection now going, but for some reason, it goes through the entire process of uploading the file.
But it doesnt seem to actually upload the file.
This is the code I have for uploading.
If you could advise, that would be great.
Many thanks again.
I have managed to get the connection now going, but for some reason, it goes through the entire process of uploading the file.
But it doesnt seem to actually upload the file.
This is the code I have for uploading.
If (mySession.Opened) Then
MsgBox("Uploading")
transferOptions.TransferMode = TransferMode.Binary
'transferResult = session.PutFiles(FileUpload1.ToString, "/", True, transferOptions)
transferResult = mySession.PutFiles("C:\FTPDirectoryFiles\" + FileUpload1.FileName, "ftp://user:password@xx.x.xx.xx/In/", False, transferOptions)
' Throw on any error
transferResult.Check()
End If
If you could advise, that would be great.
Many thanks again.