Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Efficient Streaming Methods

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for serveral ways to efficently stream files to my browser where I set the mime type. (*Not byte by byte but larger chunks) I want to stream PDF files as well as other files effienctly and haven't found a method that will work for me yet. Currently I'm doing it byte by byte and it takes a minute or two to bring up a pdf file. This simply is taking too long. Any and all solutions would be great.
-Dale
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well since no one here seems to really know.. I found a solution that works. I was really looking for a way of quickly streaming a pdf file so the file can get the files onto the customers screen quickly. Streaming the file byte by byte it took too long. Below is the solution for doing it in larger chuncks. I put in comments to help anyone else out there looking to do this.

Regards,
Dale
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic