logo

New Response

« Return to the blog entry

You are replying to:

  1. Jake -

    I looked back in the code and was reminded that $file doesn't work. Here's what does (it was right next to a commented out line with $file...) :

    url = urlThisDatabase() + "/0/" + doc.getUniversalID() + "/Body/M1/" + filename;

    And here's the line that encodes the content...

    body.setContentFromBytes(stream, "application/pdf", MIMEEntity.ENC_IDENTITY_BINARY);

    About the name, you're right -- Jake is becoming more and more popular. That said, I'm actually James -- no one in my family can explain to me how the nickname makes any sense, but it stuck...

Your Comments

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