1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    95
    Vote Rating
    2
    TiloS is on a distinguished road

      0  

    Default Byte array Pdf in browser

    Byte array Pdf in browser


    Hello,

    I have a PDF as byte array from a webservice and I can fetch it with a jsonP request.

    Is it possible to show it in the browser?

    TiloS

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,918
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    I would suggest saving the stream to a file and then just direct the file to the browser to display. I am not aware of any viewer that will view from stream data.

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    26
    Vote Rating
    0
    pulliags is on a distinguished road

      0  

    Default


    TiloS,

    Would you be able to share any of your code from the webservice. I'm trying to do the exact same thing, but don't know where to begin. I have a webservice, but don't know how to set up the byte array pdf. Thanks!!

    Gregg

  4. #4
    Sencha User
    Join Date
    Sep 2011
    Posts
    26
    Vote Rating
    0
    pulliags is on a distinguished road

      0  

    Default


    Quote Originally Posted by scottmartin View Post
    I would suggest saving the stream to a file and then just direct the file to the browser to display. I am not aware of any viewer that will view from stream data.

    Regards,
    Scott.
    Scott, do you have an example of how to save the stream to a file? Thanks!! Gregg

  5. #5
    Sencha Premium Member
    Join Date
    Oct 2012
    Posts
    11
    Vote Rating
    0
    bar@egeli is on a distinguished road

      0  

    Default


    Quote Originally Posted by pulliags View Post
    Scott, do you have an example of how to save the stream to a file? Thanks!! Gregg
    While not finding a working solution to show a PDF converted from a byte array, I would also be very interested in an example of how to save the stream into a file.

    thank you in advance for your reply

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi