Skip to content

Planet-Source-Code/joe-healey-easy-web-site-file-download__1-36211

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Easy Web Site File Download

Description

Download any file off the internet. With this 2 line code snippet. This can download HTML File all the way to zip files. Easy And Quick

More Info

Easy to use, just one declaration and one call function

Submitted On
By Joe Healey
Level Intermediate
User Rating 4.6 (23 globes from 5 users)
Compatibility VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0
Category Internet/ HTML
World Visual Basic
Archive File

API Declarations

Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long

Source Code

call URLDownloadToFile(0 ,"http://www.download.com/file.zip" ,"C:\downloads\file.zip",0,0)
'Just replace http://www.download.com/file.zip with whatever file you want to DL
'Just Replace C:\downloads\file.zip with where and What File Name you want to save to

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published