Resolved DownloadFile using My.Computer.Network 404 error

hypermx

Member
Joined
Jun 23, 2009
Messages
5
Programming Experience
Beginner
Hello.

Ive been using the command My.Computer.Network.Downloadfile for awhile now. But recently it just stopped working for me now.

Every time i use it, I get an error:

VB.NET:
ERROR: System.Net.WebException: The remote server returned an error: (404) Not found.


Ive checked multiple times that the file exists, But it dosn't want to download it some why.

Ive also tryed to use this:

VB.NET:
Dim wc as new WebClient
wc.downloadfile(file, localdir)

But that returned the same error.


Anybody else got a snippet to download a file? or tell me what I'm doing wrong?



EDIT:

Don't know what I've done wrong, But suddenly it works again? :p
 
Last edited:
Back
Top