Base64 encoding of attached files

M

MattO

I've noticed that when InfoPath base64 encodes a file to inline it into the XML of a form, it prepends some extra binary data to the attached document. If I'm correct in this assertion, I presume it is data for InfoPath to use internally when showing things like the file name of the attached file when the form is open. However, we're extracting the base64 encoded data from the xml outside of InfoPath and decoding it in the hopes to have the binary content of the original attached file (and only the attached file). Are there some specifications somewhere for exactly what InfoPath puts in the inlined base64 data?

Thanks
Matt
 
A

Andrew Ma [MSFT]

There's a blog entry about the file attachment format in our team blog:
http://blogs.msdn.com/infopath/archive/2004/03/18/92221.aspx

--
Andrew J. Ma
Software Test Engineer
Microsoft Office InfoPath
http://blogs.msdn.com/ajma
---------------------------------------
This posting is provided "As Is" with no warranties, and confers no rights.
Use of any included script sample are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top