Hello,

I am trying to make my program download a file to root or another directory.

This is my code so far:

Code:
Private Sub Command1_Click()
Dim Inet1
    With Inet1
        .Protocol = 2
        .UserName = "*****"
        .Password = "*****"
        .RemoteHost = "*****"
        .Execute , "GET file.exe, c:\file.exe"
    End With
End Sub
Please advise as to how to get this working.

Cheers
John