469,917 Members | 1,864 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Microsoft.VisualBasic.Devices.Network Download Error

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)
Jul 11 '08 #1
1 1787
On Jul 11, 9:42 pm, yawes...@gmail.com wrote:
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
Jul 11 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Novice | last post: by
14 posts views Thread by Jim Hubbard | last post: by
4 posts views Thread by Rainer Queck | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.