My.Computer.Network.DownloadFile

M

Me

I'm trying to download a URL which I know returns XML, but when using
My.Computer.Network.DownloadFile all I get is (binary?) gibberish. The
URL isn't an absolute reference to a static XML file, but to an address
using some sort of server-isde processing.

If I enter the URL into a browser, I get back an XML document beginning

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Document [...]

Whereas My.Computer.Network.DownloadFile results in a file containing

‹"©»|lÏúšø”s©Ø™©:/)ˆ‚%Ž)’CR±5¿~’xA@¢É'qDŠD7ºÝ·“__f6øüÀrÓºÑÔë
[...]

Any ideas what's going on?
 
I

ImageAnalyst

I haven't tried it but I have a question. Do you get the same
gibberish if the xml file is located
1) on your local hard drive
2) on a shared network drive (that you have mapped)
3) on the public internet (some web site)
Does it work in any of those cases?
Regards,
ImageAnalyst

===============================
 
B

blah

Local hard drive - OK
Shared drive - OK
Manually downloaded (URL pasted into IE and resultant file saved) and
hosted on a web server - OK

This is one such URL:
http://ax.phobos.apple.com.edgesuit...wa/viewPodcast?id=215092719&amp;ign-mscache=1
I haven't tried it but I have a question. Do you get the same
gibberish if the xml file is located
1) on your local hard drive
2) on a shared network drive (that you have mapped)
3) on the public internet (some web site)
Does it work in any of those cases?
Regards,
ImageAnalyst

===============================
I'm trying to download a URL which I know returns XML, but when using
My.Computer.Network.DownloadFile all I get is (binary?) gibberish. The
URL isn't an absolute reference to a static XML file, but to an address
using some sort of server-isde processing.

If I enter the URL into a browser, I get back an XML document beginning

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Document [...]

Whereas My.Computer.Network.DownloadFile results in a file containing

‹ "©»|lÃúšø"s©Ø™©:/)ˆ,%Ž)'CR±5¿~ 'x A@¢ É 'qDÅ D7º à ·"__f6ø üÀr ÓºÑÔë
[...]

Any ideas what's going on?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top