Restored from previous forum. Originally posted by PB.
You're not going to believe this one... I almost soiled myself when I read it!
Can be used to download ANY type of file from the Internet: web page, zip, etc.
Code: Select all
; Syntax: URLDownloadToFile_(0, WebURL$, LocalFile$, 0, 0)
r = URLDownloadToFile_(0, "http://www.purebasic.com/images/logopb.gif", "C:\logopb.gif", 0, 0)
If r <> 0 : MessageRequester("Error", "Couldn't download file...", 0) : EndIf
Works on all systems from Win 95 upwards -- WOOHOO!
PB - Registered PureBasic Coder
Edited by - PB on 23 April 2002 06:46:05