How do you download a file with the Inet (internet transfer) control? I'm pretty sure that i've configured the control the right way, but I don't get it to work.
Thanks in advance!
Printable View
How do you download a file with the Inet (internet transfer) control? I'm pretty sure that i've configured the control the right way, but I don't get it to work.
Thanks in advance!
Here an example
<1st Command>
With Inet1
.Cancel
.Protocol = icFTP
.URL = txt(0).Text
.UserName = txt(1).Text
.Password = txt(2).Text
End With
<2nd Command>
aCmd = "Get"
FromObj <-- From File (host)
ToObj <-- To File
Inet1.Execute , aCmd & " " & FormObj & " " & ToObj
Ciao
This code didn't work on my computer. (I could have done something wrong!)