Problem Downloading a zip archive using HttpWebResponse

  • Thread starter Thread starter DotNetJunkies User
  • Start date Start date
D

DotNetJunkies User

Hello,

I am trying to download zip files over HTTPS with the HttpWebResponse object in C#. I've stepped thought the code and what seems to be happening is the Stream.Read method will only return 1040 Bytes from the stream regardless of the size of the file. Is anyone else having this problem??


Cole
 
It can only read as much as the buffer that you provide will allow. What is
the size of the buffer that you are using and are you reading the content in
some kind of loop?

DotNetJunkies User said:
Hello,

I am trying to download zip files over HTTPS with the HttpWebResponse
object in C#. I've stepped thought the code and what seems to be happening
is the Stream.Read method will only return 1040 Bytes from the stream
regardless of the size of the file. Is anyone else having this problem??
engine supports Post Alerts, Ratings, and Searching.
 

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

Back
Top