• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Efficient Streaming Methods

 
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic