logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • andy
    • Posted on Thu 26 Jun 2008 04:00 AM

    seems fine so far, except it doesn't work exactly as expected... but seems consistent.

    Regarding the issue. only thing that springs to mind is that binary files are generally using control characters that get stripped out during transfer, these normally need to be stuffed before transfer.

    The fact that the text file transfers ok, including some pretty big ones leads me to believe it's the characters that get removed causing the issue. ( and the bytes of the binary that turn up seem to support this )

    So there are 2 possibilities that I have been trying, either base64 encode the binary before transfer, or convert it to mime and transfer it so that it only uses the same characters as the text file which it transfers correctly.

    - strange thing is.. if it works as a servlet, and you can load servlets into agents too.. it still gets it wrong. I guess IBM only got around this in the inotes mail template by using an active-x control.. I wonder if the only reason it works in a document is it is encapsulated by domino before transfer back to the browser, if so maybe a webservice is the answer.

    - it's just seems like a shame / missed opportunity but hey that's notes..

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: