求 vb6 上传文件至局域网服务器的方法
vb6 用inte上传文件发生无法连接至远程服务器错误,代码如下还请大师指点谢谢诶Private Sub Command1_Click()
CommonDialog1.ShowOpen
Inet1.URL = "192.168.0.109"
Inet1.Protocol = icFTP
Inet1.UserName = "Administrator"
Inet1.Password = "luting99"
Inet1.Execute , "PUT " & CommonDialog1.FileName & "1.txt"
Do While Inet1.StillExecuting
DoEvents
Loop
MsgBox "上传完毕!", vbInformation, "提示"
End Sub