Private Sub Download(UrtFile As String, LocalFile As String)
Dim bData() As Byte
Dim intFile As Integer
Dim i As Integer
Dim ttt As String
intFile = FreeFile()
On Error Resume Next
Kill LocalFile
On Error GoTo 0
bData() = Inet1.OpenURL(UrtFile, icByteArray)
Open LocalFile For Binary Access Write As #intFile
Put #intFile, , bData()
Close #intFile
Exit Sub
err1:
MsgBox "error!"
Resume
End Sub