I have a client that is posting a gzipped xml file on their site for me to download. I wrote the code the will unpack the gzip file.

I'm stuck on how I copy the file from

http://www.ClientSite.com/feeds/20091020.xml.gz

to my server. The file is 4mb, not sure if that makes much of a difference. My code is in vb.net but if someone knows how to do it in c# that's fine, I can work with that. Thanks.

Any solution would really do, if I need to write a command line batch file or something that would be fine, but I don't really know how to do that either.

I found it, the following worked perfectly for what I wanted:

My.Computer.Network.DownloadFile("http://abc.com/123.txt", "C:\123.txt")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.