Works for all files:

VB Code:
  1. Option Explicit
  2.     Public i As Long
  3.  
  4. Private Sub Form_Load()
  5. On Error GoTo errorHandeler
  6.     Dim strURL As String
  7.     Dim bData() As Byte
  8.     Dim intFile As Integer
  9.         strURL = "http://www.someSite.com/someFile.jpg"
  10.         intFile = FreeFile()
  11.         bData() = Inet1.OpenURL(strURL, icByteArray)
  12.             Open "C:\someFile.jpg" For Binary Access Write As #intFile
  13.                 Put #intFile, , bData()
  14.             Close #intFile
  15.                     Exit Sub
  16. errorHandeler:
  17. End Sub