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.
 
Back
Top