Click to See Complete Forum and Search --> : Downloading files with the Inet control
Jakys
Mar 20th, 2000, 11:20 PM
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!
blindix
Mar 21st, 2000, 04:26 PM
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
Jakys
Mar 22nd, 2000, 12:32 AM
This code didn't work on my computer. (I could have done something wrong!)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.