Microsoft.VisualBasic.Devices.Network Download Error

  • Thread starter Thread starter yawesome
  • Start date Start date
Y

yawesome

I am using Microsoft.VisualBasic.Devices.Network to download a file
from a server to a PC and am receiving a 404 error. The file is in teh
download location but it has 0kb.

Does anyone have any idea why it's bombing?

oNet.DownloadFile(URL, FIRMWAREPATH & "\update\update.tt", "name",
"pwd", True, 1000, True)
 
I am using Microsoft.VisualBasic.Devices.Network to download a file
from a server to a PC and am receiving a 404 error. The file is in teh
download location but it has 0kb.

Does anyone have any idea why it's bombing?

oNet.DownloadFile(URL, FIRMWAREPATH & "\update\update.tt", "name",
"pwd", True, 1000, True)

You may have missed the right path of file or misused the protocol of
the file that'll be downloaded which may cause 404 not found error.
Try sth like this:

My.Computer.Network.DownloadFile("http://www.domain.com/file.tt","c:
\update\update.tt","username","password",True,1000,True)

Hope this helps,

Onur Güzel
 
Back
Top