Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi everyone,

Could you giude me on the following topic please, or what topic does this come under?

Thanks

 

I would like to download files from a web site and place them on my local machine.

Farshad
Posted

I've never tried that but I think it's the same way as Copying a file on the HD... the diference it's the path...

 

Try the methods on the System.IO namespace... I really think it will do...

Software bugs are impossible to detect by anybody except the end user.
  • *Experts*
Posted

You can use the WebClient class to downlaod a file:

Dim wc As New System.Net.WebClient
'download the file using the DownloadFile method which accepts the location of the file on the internet
'and the location to which you want to download to.
wc.DownloadFile("address of file", "Location to download to")

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...