URLDownloadToFile fails (???) on 1 site
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I'm trying to use URLDownloadToFile and a have a strange behaviour (and WebClient doesn't fit my needs): URLDownloadToFile(IntPtr.Zero,"http://www.kimo.com.tw",@"c:\test1.htm",0,IntPtr.Zero); <-- create the file URLDownloadToFile(IntPtr.Zero,"http://www.yahoo.com",@"c:\test2.htm",0,IntPtr.Zero); <-- create the file URLDownloadToFile(IntPtr.Zero,"http://www.boursorama.com",@"c:\test3.htm",0,IntPtr.Zero); <-- doesn't create the file (but no apparent failure returned from the function) Any idea ? Try by yourself. R. LOPES Just programmer.