Downloading file from web server

nakracreative

Well-known member
Joined
Aug 1, 2005
Messages
72
Location
India
Programming Experience
1-3
i am trying to download a file from internet using webclient class.
Dim myWebclient As New WebClient

myWebclient.DownloadFile("http://www.xyz.com/test.jpg", "c:\test.jpg")
This works well but when i download a "test.emf" file then it gives error that 404-file not found. But the file exists in this path.
It seems that http does not support downloading another format.
So how can i download a .emf file.
Please help me out.
 
its a desktop application and not a web application so there is no question of redirecting. thanks for your response. if you can guide me further, it will be a great help.
 
Back
Top