Hellow,
I need to open an ftp session in VB6 and send some files to that FTP. I already searched the site here for solutions, but those I found didn't work for me.
I use the Inet component.
I tried it as following, but nothing works.
Can somebody help me, thank you!
Private Sub Command2_Click()
With Inet1
.AccessType = icUseDefault
.Protocol = icFTP
.UserName = "myusername"
.Password = "mypassword"
.RemoteHost = "TheRemoteHost"
.RemotePort = "21"
.Execute "SEND C:\temp\design.txt"
End With
End Sub
I need to open an ftp session in VB6 and send some files to that FTP. I already searched the site here for solutions, but those I found didn't work for me.
I use the Inet component.
I tried it as following, but nothing works.
Can somebody help me, thank you!
Private Sub Command2_Click()
With Inet1
.AccessType = icUseDefault
.Protocol = icFTP
.UserName = "myusername"
.Password = "mypassword"
.RemoteHost = "TheRemoteHost"
.RemotePort = "21"
.Execute "SEND C:\temp\design.txt"
End With
End Sub